Class: Inttegro::FileLink::Delivery
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FileLink::Delivery
- Defined in:
- lib/inttegro/file_link/delivery.rb
Overview
Typed representation of the delivery object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#content_type ⇒ String?
readonly
Value of the
content_typefield in the Inttegro API payload. -
#disposition ⇒ String?
readonly
Value of the
dispositionfield in the Inttegro API payload. -
#filename ⇒ String?
readonly
Value of the
filenamefield in the Inttegro API payload. -
#mode ⇒ Inttegro::FileLink::DeliveryMode?
readonly
Value of the
modefield in the Inttegro API payload.
Instance Attribute Details
#content_type ⇒ String? (readonly)
Value of the content_type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: content_type.
42 43 44 45 46 47 |
# File 'lib/inttegro/file_link/delivery.rb', line 42 class Delivery < T::Struct const :mode, T.nilable(Inttegro::FileLink::DeliveryMode), default: nil const :filename, T.nilable(String), default: nil const :content_type, T.nilable(String), default: nil const :disposition, T.nilable(String), default: nil end |
#disposition ⇒ String? (readonly)
Value of the disposition field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: disposition.
42 43 44 45 46 47 |
# File 'lib/inttegro/file_link/delivery.rb', line 42 class Delivery < T::Struct const :mode, T.nilable(Inttegro::FileLink::DeliveryMode), default: nil const :filename, T.nilable(String), default: nil const :content_type, T.nilable(String), default: nil const :disposition, T.nilable(String), default: nil end |
#filename ⇒ String? (readonly)
Value of the filename field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: filename.
42 43 44 45 46 47 |
# File 'lib/inttegro/file_link/delivery.rb', line 42 class Delivery < T::Struct const :mode, T.nilable(Inttegro::FileLink::DeliveryMode), default: nil const :filename, T.nilable(String), default: nil const :content_type, T.nilable(String), default: nil const :disposition, T.nilable(String), default: nil end |
#mode ⇒ Inttegro::FileLink::DeliveryMode? (readonly)
Value of the mode field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: mode.
42 43 44 45 46 47 |
# File 'lib/inttegro/file_link/delivery.rb', line 42 class Delivery < T::Struct const :mode, T.nilable(Inttegro::FileLink::DeliveryMode), default: nil const :filename, T.nilable(String), default: nil const :content_type, T.nilable(String), default: nil const :disposition, T.nilable(String), default: nil end |