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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PostUserInfo

Returns a new instance of PostUserInfo



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

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)


1181
1182
1183
# File 'generated/google/apis/blogger_v3/classes.rb', line 1181

def kind
  @kind
end

#postGoogle::Apis::BloggerV3::Post

The Post resource. Corresponds to the JSON property post



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

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



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

def 
  @post_user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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