Class: Google::Apis::ChatV1::ListMembershipsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListMembershipsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Instance Attribute Summary collapse
-
#memberships ⇒ Array<Google::Apis::ChatV1::Membership>
List of memberships in the requested (or first) page.
-
#next_page_token ⇒ String
A token that you can send as
pageTokento retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMembershipsResponse
constructor
A new instance of ListMembershipsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListMembershipsResponse
Returns a new instance of ListMembershipsResponse.
2881 2882 2883 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#memberships ⇒ Array<Google::Apis::ChatV1::Membership>
List of memberships in the requested (or first) page.
Corresponds to the JSON property memberships
2873 2874 2875 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2873 def memberships @memberships end |
#next_page_token ⇒ String
A token that you can send as pageToken to retrieve the next page of results.
If empty, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
2879 2880 2881 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2879 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2886 2887 2888 2889 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2886 def update!(**args) @memberships = args[:memberships] if args.key?(:memberships) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |