Class: Google::Apis::ClassroomV1::ListAddOnAttachmentsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/classroom_v1/classes.rb,
lib/google/apis/classroom_v1/representations.rb,
lib/google/apis/classroom_v1/representations.rb

Overview

Response when listing add-on attachments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAddOnAttachmentsResponse

Returns a new instance of ListAddOnAttachmentsResponse.



1552
1553
1554
# File 'lib/google/apis/classroom_v1/classes.rb', line 1552

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

Instance Attribute Details

#add_on_attachmentsArray<Google::Apis::ClassroomV1::AddOnAttachment>

Attachments under the given post. Corresponds to the JSON property addOnAttachments



1544
1545
1546
# File 'lib/google/apis/classroom_v1/classes.rb', line 1544

def add_on_attachments
  @add_on_attachments
end

#next_page_tokenString

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1550
1551
1552
# File 'lib/google/apis/classroom_v1/classes.rb', line 1550

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1557
1558
1559
1560
# File 'lib/google/apis/classroom_v1/classes.rb', line 1557

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