Class: Google::Apis::BloggerV3::PostUserInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostUserInfo

Returns a new instance of PostUserInfo.



1199
1200
1201
# File 'generated/google/apis/blogger_v3/classes.rb', line 1199

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

The kind of this entity. Always blogger#postUserInfo. Corresponds to the JSON property kind

Returns:

  • (String)


1187
1188
1189
# File 'generated/google/apis/blogger_v3/classes.rb', line 1187

def kind
  @kind
end

#postGoogle::Apis::BloggerV3::Post

The Post resource. Corresponds to the JSON property post



1192
1193
1194
# File 'generated/google/apis/blogger_v3/classes.rb', line 1192

def post
  @post
end

#post_user_infoGoogle::Apis::BloggerV3::PostPerUserInfo

Information about a User for the Post. Corresponds to the JSON property post_user_info



1197
1198
1199
# File 'generated/google/apis/blogger_v3/classes.rb', line 1197

def 
  @post_user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1204
1205
1206
1207
1208
# File 'generated/google/apis/blogger_v3/classes.rb', line 1204

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