Class: Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#expires_at ⇒ Time?
readonly
Returns the value of attribute expires_at.
-
#slots ⇒ Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?
readonly
Returns the value of attribute slots.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :expires_at, :slots ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
Instance Method Summary collapse
- #members ⇒ [ :expires_at, :slots ]
- #to_h ⇒ { expires_at: Time?, slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? }
Instance Attribute Details
#expires_at ⇒ Time? (readonly)
Returns the value of attribute expires_at.
1646 1647 1648 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1646 def expires_at @expires_at end |
#slots ⇒ Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? (readonly)
Returns the value of attribute slots.
1647 1648 1649 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1647 def slots @slots end |
Class Method Details
.[](expires_at:, slots:) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
1639 1640 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1639 def self.[]: (?expires_at: Time?, ?slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability | (Time?, Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability |
.members ⇒ [ :expires_at, :slots ]
1642 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1642 def self.members: () -> [ :expires_at, :slots ] |
.new(expires_at:, slots:) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
1637 1638 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1637 def self.new: (?expires_at: Time?, ?slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability | (Time?, Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]?) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability |
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability
1644 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1644 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::SelfShipAppointmentSlotsAvailability |
Instance Method Details
#members ⇒ [ :expires_at, :slots ]
1649 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1649 def members: () -> [ :expires_at, :slots ] |
#to_h ⇒ { expires_at: Time?, slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? }
1650 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1650 def to_h: () -> { expires_at: Time?, slots: Array[Peddler::APIs::FulfillmentInbound20240320::AppointmentSlot]? } |