Class: Peddler::APIs::ShippingV2::RequestedDocumentSpecification
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::RequestedDocumentSpecification
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#dpi ⇒ Integer?
readonly
Returns the value of attribute dpi.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#need_file_joining ⇒ Boolean
readonly
Returns the value of attribute need_file_joining.
-
#page_layout ⇒ String?
readonly
Returns the value of attribute page_layout.
-
#requested_document_types ⇒ Array[untyped]
readonly
Returns the value of attribute requested_document_types.
-
#requested_label_customization ⇒ Peddler::APIs::ShippingV2::RequestedLabelCustomization?
readonly
Returns the value of attribute requested_label_customization.
-
#size ⇒ Peddler::APIs::ShippingV2::DocumentSize
readonly
Returns the value of attribute size.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :format, :need_file_joining, :requested_document_types, :size, :dpi, :page_layout, :requested_label_customization ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification
Instance Method Summary collapse
-
#members ⇒ [ :format, :need_file_joining, :requested_document_types, :size, :dpi, :page_layout, :requested_label_customization ]
-
#need_file_joining? ⇒ Boolean
-
#to_h ⇒ { format: String, need_file_joining: bool, requested_document_types: Array[untyped], size: Peddler::APIs::ShippingV2::DocumentSize, dpi: Integer?, page_layout: String?, requested_label_customization: Peddler::APIs::ShippingV2::RequestedLabelCustomization? }
Instance Attribute Details
#dpi ⇒ Integer? (readonly)
Returns the value of attribute dpi.
1638 1639 1640 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1638 def dpi @dpi end |
#format ⇒ String (readonly)
Returns the value of attribute format.
1639 1640 1641 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1639 def format @format end |
#need_file_joining ⇒ Boolean (readonly)
Returns the value of attribute need_file_joining.
1640 1641 1642 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1640 def need_file_joining @need_file_joining end |
#page_layout ⇒ String? (readonly)
Returns the value of attribute page_layout.
1641 1642 1643 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1641 def page_layout @page_layout end |
#requested_document_types ⇒ Array[untyped] (readonly)
Returns the value of attribute requested_document_types.
1642 1643 1644 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1642 def requested_document_types @requested_document_types end |
#requested_label_customization ⇒ Peddler::APIs::ShippingV2::RequestedLabelCustomization? (readonly)
Returns the value of attribute requested_label_customization.
1643 1644 1645 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1643 def requested_label_customization @requested_label_customization end |
#size ⇒ Peddler::APIs::ShippingV2::DocumentSize (readonly)
Returns the value of attribute size.
1644 1645 1646 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1644 def size @size end |
Class Method Details
.[](format:, need_file_joining:, requested_document_types:, size:, dpi:, page_layout:, requested_label_customization:) ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification
1631 1632 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1631
def self.[]: (format: String, need_file_joining: bool, requested_document_types: Array[untyped], size: Peddler::APIs::ShippingV2::DocumentSize, ?dpi: Integer?, ?page_layout: String?, ?requested_label_customization: Peddler::APIs::ShippingV2::RequestedLabelCustomization?) -> Peddler::APIs::ShippingV2::RequestedDocumentSpecification
| (String, bool, Array[untyped], Peddler::APIs::ShippingV2::DocumentSize, Integer?, String?, Peddler::APIs::ShippingV2::RequestedLabelCustomization?) -> Peddler::APIs::ShippingV2::RequestedDocumentSpecification
|
.members ⇒ [ :format, :need_file_joining, :requested_document_types, :size, :dpi, :page_layout, :requested_label_customization ]
1634 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1634
def self.members: () -> [ :format, :need_file_joining, :requested_document_types, :size, :dpi, :page_layout, :requested_label_customization ]
|
.new(format:, need_file_joining:, requested_document_types:, size:, dpi:, page_layout:, requested_label_customization:) ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification
1629 1630 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1629
def self.new: (format: String, need_file_joining: bool, requested_document_types: Array[untyped], size: Peddler::APIs::ShippingV2::DocumentSize, ?dpi: Integer?, ?page_layout: String?, ?requested_label_customization: Peddler::APIs::ShippingV2::RequestedLabelCustomization?) -> Peddler::APIs::ShippingV2::RequestedDocumentSpecification
| (String, bool, Array[untyped], Peddler::APIs::ShippingV2::DocumentSize, Integer?, String?, Peddler::APIs::ShippingV2::RequestedLabelCustomization?) -> Peddler::APIs::ShippingV2::RequestedDocumentSpecification
|
.parse ⇒ Peddler::APIs::ShippingV2::RequestedDocumentSpecification
1636 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1636
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::RequestedDocumentSpecification
|
Instance Method Details
#members ⇒ [ :format, :need_file_joining, :requested_document_types, :size, :dpi, :page_layout, :requested_label_customization ]
1646 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1646
def members: () -> [ :format, :need_file_joining, :requested_document_types, :size, :dpi, :page_layout, :requested_label_customization ]
|
#need_file_joining? ⇒ Boolean
1647 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1647
def need_file_joining?: () -> bool
|
#to_h ⇒ { format: String, need_file_joining: bool, requested_document_types: Array[untyped], size: Peddler::APIs::ShippingV2::DocumentSize, dpi: Integer?, page_layout: String?, requested_label_customization: Peddler::APIs::ShippingV2::RequestedLabelCustomization? }
1648 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 1648
def to_h: () -> { format: String, need_file_joining: bool, requested_document_types: Array[untyped], size: Peddler::APIs::ShippingV2::DocumentSize, dpi: Integer?, page_layout: String?, requested_label_customization: Peddler::APIs::ShippingV2::RequestedLabelCustomization? }
|