Class: Google::Apis::BloggerV3::PostPerUserInfo
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::PostPerUserInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v3/classes.rb,
generated/google/apis/blogger_v3/representations.rb,
generated/google/apis/blogger_v3/representations.rb
Instance Attribute Summary collapse
-
#blog_id ⇒ String
ID of the Blog that the post resource belongs to.
-
#has_edit_access ⇒ Boolean
(also: #has_edit_access?)
True if the user has Author level access to the post.
-
#kind ⇒ String
The kind of this entity.
-
#post_id ⇒ String
ID of the Post resource.
-
#user_id ⇒ String
ID of the User.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostPerUserInfo
constructor
A new instance of PostPerUserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PostPerUserInfo
Returns a new instance of PostPerUserInfo
1160 1161 1162 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blog_id ⇒ String
ID of the Blog that the post resource belongs to.
Corresponds to the JSON property blogId
1137 1138 1139 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1137 def blog_id @blog_id end |
#has_edit_access ⇒ Boolean Also known as: has_edit_access?
True if the user has Author level access to the post.
Corresponds to the JSON property hasEditAccess
1142 1143 1144 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1142 def has_edit_access @has_edit_access end |
#kind ⇒ String
The kind of this entity. Always blogger#postPerUserInfo
Corresponds to the JSON property kind
1148 1149 1150 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1148 def kind @kind end |
#post_id ⇒ String
ID of the Post resource.
Corresponds to the JSON property postId
1153 1154 1155 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1153 def post_id @post_id end |
#user_id ⇒ String
ID of the User.
Corresponds to the JSON property userId
1158 1159 1160 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1158 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1165 1166 1167 1168 1169 1170 1171 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1165 def update!(**args) @blog_id = args[:blog_id] if args.key?(:blog_id) @has_edit_access = args[:has_edit_access] if args.key?(:has_edit_access) @kind = args[:kind] if args.key?(:kind) @post_id = args[:post_id] if args.key?(:post_id) @user_id = args[:user_id] if args.key?(:user_id) end |