Class: Peddler::APIs::ExternalFulfillmentInventory20240911::HttpStatusLine

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/external_fulfillment_inventory_2024_09_11.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)


105
106
107
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 105

def reason_phrase
  @reason_phrase
end

#status_codeInteger? (readonly)

Returns the value of attribute status_code.

Returns:

  • (Integer, nil)


106
107
108
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 106

def status_code
  @status_code
end

Class Method Details

.[](reason_phrase:, status_code:) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::HttpStatusLine .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::HttpStatusLine

Overloads:



98
99
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 98

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

.members[ :reason_phrase, :status_code ]

Returns:

  • ([ :reason_phrase, :status_code ])


101
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 101

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

.new(reason_phrase:, status_code:) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::HttpStatusLine .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentInventory20240911::HttpStatusLine

Overloads:



96
97
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 96

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

.parsePeddler::APIs::ExternalFulfillmentInventory20240911::HttpStatusLine

Parameters:

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

Returns:



103
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 103

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

Instance Method Details

#members[ :reason_phrase, :status_code ]

Returns:

  • ([ :reason_phrase, :status_code ])


108
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 108

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

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

Returns:

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


109
# File 'sig/peddler/apis/external_fulfillment_inventory_2024_09_11.rbs', line 109

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