Class: Peddler::APIs::ShippingV2::SupportedDocumentDetail
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::SupportedDocumentDetail
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#mandatory ⇒ Boolean
readonly
Returns the value of attribute mandatory.
-
#name ⇒ String
readonly
Returns the value of attribute name.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :mandatory, :name ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail
Instance Method Summary collapse
Instance Attribute Details
#mandatory ⇒ Boolean (readonly)
Returns the value of attribute mandatory.
1768 1769 1770 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1768 def mandatory @mandatory end |
#name ⇒ String (readonly)
Returns the value of attribute name.
1769 1770 1771 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1769 def name @name end |
Class Method Details
.[](mandatory:, name:) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail
1761 1762 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1761
def self.[]: (mandatory: bool, name: String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
| (bool, String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
|
.members ⇒ [ :mandatory, :name ]
1764 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1764
def self.members: () -> [ :mandatory, :name ]
|
.new(mandatory:, name:) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail
1759 1760 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1759
def self.new: (mandatory: bool, name: String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
| (bool, String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
|
.parse ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail
1766 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1766
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
|
Instance Method Details
#mandatory? ⇒ Boolean
1771 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1771
def mandatory?: () -> bool
|
#members ⇒ [ :mandatory, :name ]
1772 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1772
def members: () -> [ :mandatory, :name ]
|
#to_h ⇒ { mandatory: bool, name: String }
1773 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1773
def to_h: () -> { mandatory: bool, name: String }
|