Class: Google::Apis::BloggerV2::BlogList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/blogger_v2/classes.rb,
generated/google/apis/blogger_v2/representations.rb,
generated/google/apis/blogger_v2/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) ⇒ BlogList


199
200
201
# File 'generated/google/apis/blogger_v2/classes.rb', line 199

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

Instance Attribute Details

#itemsArray<Google::Apis::BloggerV2::Blog>

The list of Blogs this user has Authorship or Admin rights over. Corresponds to the JSON property items


192
193
194
# File 'generated/google/apis/blogger_v2/classes.rb', line 192

def items
  @items
end

#kindString

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


197
198
199
# File 'generated/google/apis/blogger_v2/classes.rb', line 197

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


204
205
206
207
# File 'generated/google/apis/blogger_v2/classes.rb', line 204

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