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

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

Instance Method Summary collapse

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

#kindString

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

Returns:

  • (String)


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

def kind
  @kind
end

#postGoogle::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_infoGoogle::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
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