Class: Peddler::APIs::ProductPricing20220501::HttpStatusLine
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::HttpStatusLine
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#reason_phrase ⇒ String?
readonly
Returns the value of attribute reason_phrase.
-
#status_code ⇒ Integer?
readonly
Returns the value of attribute status_code.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :reason_phrase, :status_code ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
Instance Method Summary collapse
- #members ⇒ [ :reason_phrase, :status_code ]
- #to_h ⇒ { reason_phrase: String?, status_code: Integer? }
Instance Attribute Details
#reason_phrase ⇒ String? (readonly)
Returns the value of attribute reason_phrase.
397 398 399 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 397 def reason_phrase @reason_phrase end |
#status_code ⇒ Integer? (readonly)
Returns the value of attribute status_code.
398 399 400 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 398 def status_code @status_code end |
Class Method Details
.[](reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
390 391 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 390 def self.[]: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine | (String?, Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine |
.members ⇒ [ :reason_phrase, :status_code ]
393 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 393 def self.members: () -> [ :reason_phrase, :status_code ] |
.new(reason_phrase:, status_code:) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
388 389 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 388 def self.new: (?reason_phrase: String?, ?status_code: Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine | (String?, Integer?) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine |
.parse ⇒ Peddler::APIs::ProductPricing20220501::HttpStatusLine
395 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 395 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::HttpStatusLine |
Instance Method Details
#members ⇒ [ :reason_phrase, :status_code ]
400 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 400 def members: () -> [ :reason_phrase, :status_code ] |
#to_h ⇒ { reason_phrase: String?, status_code: Integer? }
401 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 401 def to_h: () -> { reason_phrase: String?, status_code: Integer? } |