Class: Google::Apis::BloggerV3::PostUserInfo
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::PostUserInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/blogger_v3/classes.rb,
lib/google/apis/blogger_v3/representations.rb,
lib/google/apis/blogger_v3/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
The kind of this entity.
-
#post ⇒ Google::Apis::BloggerV3::Post
The Post resource.
-
#post_user_info ⇒ Google::Apis::BloggerV3::PostPerUserInfo
Information about a User for the Post.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostUserInfo
constructor
A new instance of PostUserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostUserInfo
Returns a new instance of PostUserInfo.
1211 1212 1213 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
The kind of this entity. Always blogger#postUserInfo.
Corresponds to the JSON property kind
1199 1200 1201 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1199 def kind @kind end |
#post ⇒ Google::Apis::BloggerV3::Post
The Post resource.
Corresponds to the JSON property post
1204 1205 1206 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1204 def post @post end |
#post_user_info ⇒ Google::Apis::BloggerV3::PostPerUserInfo
Information about a User for the Post.
Corresponds to the JSON property post_user_info
1209 1210 1211 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1209 def post_user_info @post_user_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1216 1217 1218 1219 1220 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1216 def update!(**args) @kind = args[:kind] if args.key?(:kind) @post = args[:post] if args.key?(:post) @post_user_info = args[:post_user_info] if args.key?(:post_user_info) end |