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.



259
260
261
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 259

def offers
  @offers
end

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

Returns the value of attribute pagination.



260
261
262
# File 'sig/peddler/apis/replenishment_2022_11_07.rbs', line 260

def pagination
  @pagination
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :offers, :pagination ]

Returns:

  • ([ :offers, :pagination ])


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

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

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



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

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