Class: Google::Apis::PartnersV2::ListOffersHistoryResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::ListOffersHistoryResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
Response for ListOfferHistory.
Instance Attribute Summary collapse
- 
  
    
      #can_show_entire_company  ⇒ Boolean 
    
    
      (also: #can_show_entire_company?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    True if the user has the option to show entire company history. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Supply this token in a ListOffersHistoryRequest to retrieve the next page. 
- 
  
    
      #offers  ⇒ Array<Google::Apis::PartnersV2::HistoricalOffer> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Historical offers meeting request. 
- 
  
    
      #response_metadata  ⇒ Google::Apis::PartnersV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Common data that is in each API response. 
- 
  
    
      #showing_entire_company  ⇒ Boolean 
    
    
      (also: #showing_entire_company?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    True if this response is showing entire company history. 
- 
  
    
      #total_results  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Number of results across all pages. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListOffersHistoryResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListOffersHistoryResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListOffersHistoryResponse
Returns a new instance of ListOffersHistoryResponse
| 1325 1326 1327 | # File 'generated/google/apis/partners_v2/classes.rb', line 1325 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#can_show_entire_company ⇒ Boolean Also known as: can_show_entire_company?
True if the user has the option to show entire company history.
Corresponds to the JSON property canShowEntireCompany
| 1296 1297 1298 | # File 'generated/google/apis/partners_v2/classes.rb', line 1296 def can_show_entire_company @can_show_entire_company end | 
#next_page_token ⇒ String
Supply this token in a ListOffersHistoryRequest to retrieve the next page.
Corresponds to the JSON property nextPageToken
| 1302 1303 1304 | # File 'generated/google/apis/partners_v2/classes.rb', line 1302 def next_page_token @next_page_token end | 
#offers ⇒ Array<Google::Apis::PartnersV2::HistoricalOffer>
Historical offers meeting request.
Corresponds to the JSON property offers
| 1307 1308 1309 | # File 'generated/google/apis/partners_v2/classes.rb', line 1307 def offers @offers end | 
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
| 1312 1313 1314 | # File 'generated/google/apis/partners_v2/classes.rb', line 1312 def @response_metadata end | 
#showing_entire_company ⇒ Boolean Also known as: showing_entire_company?
True if this response is showing entire company history.
Corresponds to the JSON property showingEntireCompany
| 1317 1318 1319 | # File 'generated/google/apis/partners_v2/classes.rb', line 1317 def showing_entire_company @showing_entire_company end | 
#total_results ⇒ Fixnum
Number of results across all pages.
Corresponds to the JSON property totalResults
| 1323 1324 1325 | # File 'generated/google/apis/partners_v2/classes.rb', line 1323 def total_results @total_results end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1330 1331 1332 1333 1334 1335 1336 1337 | # File 'generated/google/apis/partners_v2/classes.rb', line 1330 def update!(**args) @can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @offers = args[:offers] if args.key?(:offers) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company) @total_results = args[:total_results] if args.key?(:total_results) end |