Class: Peddler::APIs::ShippingV1::GetTrackingInformationResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsArray[Peddler::APIs::ShippingV1::Error]? (readonly)

Returns the value of attribute errors.

Returns:



359
360
361
# File 'sig/peddler/apis/shipping_v1.rbs', line 359

def errors
  @errors
end

#payloadPeddler::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 ]

Returns:

  • ([ :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

.parsePeddler::APIs::ShippingV1::GetTrackingInformationResponse

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }