Class: Google::Apis::DfareportingV4::BillingRatesListResponse

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

Overview

Billing Rate List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BillingRatesListResponse

Returns a new instance of BillingRatesListResponse.



1669
1670
1671
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1669

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

Instance Attribute Details

#billing_ratesArray<Google::Apis::DfareportingV4::BillingRate>

Billing rates collection. Corresponds to the JSON property billingRates



1656
1657
1658
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1656

def billing_rates
  @billing_rates
end

#kindString

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

Returns:

  • (String)


1662
1663
1664
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1662

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1667
1668
1669
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1667

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1674
1675
1676
1677
1678
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1674

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