Class: Google::Apis::BloggerV3::BlogUserInfo

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) ⇒ BlogUserInfo

Returns a new instance of BlogUserInfo.



303
304
305
# File 'lib/google/apis/blogger_v3/classes.rb', line 303

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

Instance Attribute Details

#blogGoogle::Apis::BloggerV3::Blog

The Blog resource. Corresponds to the JSON property blog



291
292
293
# File 'lib/google/apis/blogger_v3/classes.rb', line 291

def blog
  @blog
end

#blog_user_infoGoogle::Apis::BloggerV3::BlogPerUserInfo

Information about a User for the Blog. Corresponds to the JSON property blog_user_info



296
297
298
# File 'lib/google/apis/blogger_v3/classes.rb', line 296

def 
  @blog_user_info
end

#kindString

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

Returns:

  • (String)


301
302
303
# File 'lib/google/apis/blogger_v3/classes.rb', line 301

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



308
309
310
311
312
# File 'lib/google/apis/blogger_v3/classes.rb', line 308

def update!(**args)
  @blog = args[:blog] if args.key?(:blog)
  @blog_user_info = args[:blog_user_info] if args.key?(:blog_user_info)
  @kind = args[:kind] if args.key?(:kind)
end