Class: Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#reason_phraseString? (readonly)

Returns the value of attribute reason_phrase.

Returns:

  • (String, nil)


289
290
291
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 289

def reason_phrase
  @reason_phrase
end

#status_codeInteger? (readonly)

Returns the value of attribute status_code.

Returns:

  • (Integer, nil)


290
291
292
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 290

def status_code
  @status_code
end

Class Method Details

.[](reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine

Overloads:



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

def self.[]: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine
| (String?, Integer?) -> Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine

.members[ :reason_phrase, :status_code ]

Returns:

  • ([ :reason_phrase, :status_code ])


285
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 285

def self.members: () -> [ :reason_phrase, :status_code ]

.new(reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine

Overloads:



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

def self.new: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine
| (String?, Integer?) -> Peddler::APIs::ProductPricingV0::GetOffersHttpStatusLine

.parsePeddler::APIs::ProductPricingV0::GetOffersHttpStatusLine

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :reason_phrase, :status_code ]

Returns:

  • ([ :reason_phrase, :status_code ])


292
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 292

def members: () -> [ :reason_phrase, :status_code ]

#to_h{ reason_phrase: String?, status_code: Integer? }

Returns:

  • ({ reason_phrase: String?, status_code: Integer? })


293
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 293

def to_h: () -> { reason_phrase: String?, status_code: Integer? }