Class: Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderreportsListDisbursementsResponse

Returns a new instance of OrderreportsListDisbursementsResponse



4770
4771
4772
# File 'generated/google/apis/content_v2_1/classes.rb', line 4770

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

Instance Attribute Details

#disbursementsArray<Google::Apis::ContentV2_1::OrderReportDisbursement>

The list of disbursements. Corresponds to the JSON property disbursements



4757
4758
4759
# File 'generated/google/apis/content_v2_1/classes.rb', line 4757

def disbursements
  @disbursements
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# orderreportsListDisbursementsResponse". Corresponds to the JSON property kind

Returns:

  • (String)


4763
4764
4765
# File 'generated/google/apis/content_v2_1/classes.rb', line 4763

def kind
  @kind
end

#next_page_tokenString

The token for the retrieval of the next page of disbursements. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4768
4769
4770
# File 'generated/google/apis/content_v2_1/classes.rb', line 4768

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4775
4776
4777
4778
4779
# File 'generated/google/apis/content_v2_1/classes.rb', line 4775

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