Class: Google::Apis::BloggerV2::Blog::Pages

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

Overview

The container of pages in this blog.

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

Returns a new instance of Pages



148
149
150
# File 'generated/google/apis/blogger_v2/classes.rb', line 148

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

Instance Attribute Details

The URL of the container for pages in this blog. Corresponds to the JSON property selfLink

Returns:

  • (String)


141
142
143
# File 'generated/google/apis/blogger_v2/classes.rb', line 141

def self_link
  @self_link
end

#total_itemsFixnum

The count of pages in this blog. Corresponds to the JSON property totalItems

Returns:

  • (Fixnum)


146
147
148
# File 'generated/google/apis/blogger_v2/classes.rb', line 146

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



153
154
155
156
# File 'generated/google/apis/blogger_v2/classes.rb', line 153

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