Class: Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/replenishment_2022_11_07.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#offersArray[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]? (readonly)

Returns the value of attribute offers.



284
285
286
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 284

def offers
  @offers
end

#paginationPeddler::APIs::Replenishment20221107::PaginationResponse? (readonly)

Returns the value of attribute pagination.



285
286
287
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 285

def pagination
  @pagination
end

Class Method Details

.[](offers:, pagination:) ⇒ Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse .[](arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse



277
278
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 277

def self.[]: (?offers: Array[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]?, ?pagination: Peddler::APIs::Replenishment20221107::PaginationResponse?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse
| (Array[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]?, Peddler::APIs::Replenishment20221107::PaginationResponse?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse

.members[ :offers, :pagination ]

Returns:

  • ([ :offers, :pagination ])


280
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 280

def self.members: () -> [ :offers, :pagination ]

.new(offers:, pagination:) ⇒ Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse .new(arg0, arg1) ⇒ Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse



275
276
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 275

def self.new: (?offers: Array[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]?, ?pagination: Peddler::APIs::Replenishment20221107::PaginationResponse?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse
| (Array[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]?, Peddler::APIs::Replenishment20221107::PaginationResponse?) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse

.parsePeddler::APIs::Replenishment20221107::ListOfferMetricsResponse

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



282
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 282

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Replenishment20221107::ListOfferMetricsResponse

Instance Method Details

#members[ :offers, :pagination ]

Returns:

  • ([ :offers, :pagination ])


287
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 287

def members: () -> [ :offers, :pagination ]

#to_h{ offers: Array[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]?, pagination: Peddler::APIs::Replenishment20221107::PaginationResponse? }



288
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 288

def to_h: () -> { offers: Array[Peddler::APIs::Replenishment20221107::ListOfferMetricsResponseOffer]?, pagination: Peddler::APIs::Replenishment20221107::PaginationResponse? }