Class: Peddler::APIs::ShippingV1::GetTrackingInformationResponse
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::GetTrackingInformationResponse
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#errors ⇒ Array[Peddler::APIs::ShippingV1::Error]?
readonly
Returns the value of attribute errors.
-
#payload ⇒ Peddler::APIs::ShippingV1::TrackingInformation?
readonly
Returns the value of attribute payload.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :errors, :payload ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ShippingV1::GetTrackingInformationResponse
Instance Method Summary collapse
- #members ⇒ [ :errors, :payload ]
- #to_h ⇒ { errors: Array[Peddler::APIs::ShippingV1::Error]?, payload: Peddler::APIs::ShippingV1::TrackingInformation? }
Instance Attribute Details
#errors ⇒ Array[Peddler::APIs::ShippingV1::Error]? (readonly)
Returns the value of attribute errors.
359 360 361 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 359 def errors @errors end |
#payload ⇒ Peddler::APIs::ShippingV1::TrackingInformation? (readonly)
Returns the value of attribute payload.
360 361 362 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 360 def payload @payload end |
Class Method Details
.[](errors:, payload:) ⇒ Peddler::APIs::ShippingV1::GetTrackingInformationResponse .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV1::GetTrackingInformationResponse
352 353 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 352 def self.[]: (?errors: Array[Peddler::APIs::ShippingV1::Error]?, ?payload: Peddler::APIs::ShippingV1::TrackingInformation?) -> Peddler::APIs::ShippingV1::GetTrackingInformationResponse | (Array[Peddler::APIs::ShippingV1::Error]?, Peddler::APIs::ShippingV1::TrackingInformation?) -> Peddler::APIs::ShippingV1::GetTrackingInformationResponse |
.members ⇒ [ :errors, :payload ]
355 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 355 def self.members: () -> [ :errors, :payload ] |
.new(errors:, payload:) ⇒ Peddler::APIs::ShippingV1::GetTrackingInformationResponse .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV1::GetTrackingInformationResponse
350 351 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 350 def self.new: (?errors: Array[Peddler::APIs::ShippingV1::Error]?, ?payload: Peddler::APIs::ShippingV1::TrackingInformation?) -> Peddler::APIs::ShippingV1::GetTrackingInformationResponse | (Array[Peddler::APIs::ShippingV1::Error]?, Peddler::APIs::ShippingV1::TrackingInformation?) -> Peddler::APIs::ShippingV1::GetTrackingInformationResponse |
.parse ⇒ Peddler::APIs::ShippingV1::GetTrackingInformationResponse
357 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 357 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::GetTrackingInformationResponse |
Instance Method Details
#members ⇒ [ :errors, :payload ]
362 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 362 def members: () -> [ :errors, :payload ] |
#to_h ⇒ { errors: Array[Peddler::APIs::ShippingV1::Error]?, payload: Peddler::APIs::ShippingV1::TrackingInformation? }
363 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 363 def to_h: () -> { errors: Array[Peddler::APIs::ShippingV1::Error]?, payload: Peddler::APIs::ShippingV1::TrackingInformation? } |