Class: Google::Apis::MirrorV1::ListAttachmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MirrorV1::ListAttachmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mirror_v1/classes.rb,
generated/google/apis/mirror_v1/representations.rb,
generated/google/apis/mirror_v1/representations.rb
Overview
A list of Attachments. This is the response from the server to GET requests on the attachments collection.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::MirrorV1::Attachment>
The list of attachments.
-
#kind ⇒ String
The type of resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAttachmentsResponse
constructor
A new instance of ListAttachmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAttachmentsResponse
Returns a new instance of ListAttachmentsResponse
118 119 120 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::MirrorV1::Attachment>
The list of attachments.
Corresponds to the JSON property items
111 112 113 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 111 def items @items end |
#kind ⇒ String
The type of resource. This is always mirror#attachmentsList.
Corresponds to the JSON property kind
116 117 118 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 116 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
123 124 125 126 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 123 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |