Class: Google::Apis::BloggerV3::PostList

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

Returns a new instance of PostList.



1123
1124
1125
# File 'generated/google/apis/blogger_v3/classes.rb', line 1123

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

Instance Attribute Details

#etagString

Etag of the response. Corresponds to the JSON property etag

Returns:

  • (String)


1101
1102
1103
# File 'generated/google/apis/blogger_v3/classes.rb', line 1101

def etag
  @etag
end

#itemsArray<Google::Apis::BloggerV3::Post>

The list of Posts for this Blog. Corresponds to the JSON property items

Returns:



1106
1107
1108
# File 'generated/google/apis/blogger_v3/classes.rb', line 1106

def items
  @items
end

#kindString

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

Returns:

  • (String)


1111
1112
1113
# File 'generated/google/apis/blogger_v3/classes.rb', line 1111

def kind
  @kind
end

#next_page_tokenString

Pagination token to fetch the next page, if one exists. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1116
1117
1118
# File 'generated/google/apis/blogger_v3/classes.rb', line 1116

def next_page_token
  @next_page_token
end

#prev_page_tokenString

Pagination token to fetch the previous page, if one exists. Corresponds to the JSON property prevPageToken

Returns:

  • (String)


1121
1122
1123
# File 'generated/google/apis/blogger_v3/classes.rb', line 1121

def prev_page_token
  @prev_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1128
1129
1130
1131
1132
1133
1134
# File 'generated/google/apis/blogger_v3/classes.rb', line 1128

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