Class: Google::Apis::BloggerV2::PageList

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


596
597
598
# File 'generated/google/apis/blogger_v2/classes.rb', line 596

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

Instance Attribute Details

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

The list of Pages for a Blog. Corresponds to the JSON property items


589
590
591
# File 'generated/google/apis/blogger_v2/classes.rb', line 589

def items
  @items
end

#kindString

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


594
595
596
# File 'generated/google/apis/blogger_v2/classes.rb', line 594

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


601
602
603
604
# File 'generated/google/apis/blogger_v2/classes.rb', line 601

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