Class: Inttegro::File::Source
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::File::Source
- Defined in:
- lib/inttegro/file/source.rb
Overview
Typed representation of the source 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
-
#service ⇒ String?
readonly
Value of the
servicefield in the Inttegro API payload. -
#type ⇒ Inttegro::File::SourceType?
readonly
Value of the
typefield in the Inttegro API payload. -
#upload_request_id ⇒ String?
readonly
Value of the
upload_request_idfield in the Inttegro API payload.
Instance Attribute Details
#service ⇒ String? (readonly)
Value of the service field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: service.
36 37 38 39 40 |
# File 'lib/inttegro/file/source.rb', line 36 class Source < T::Struct const :type, T.nilable(Inttegro::File::SourceType), default: nil const :service, T.nilable(String), default: nil const :upload_request_id, T.nilable(String), default: nil end |
#type ⇒ Inttegro::File::SourceType? (readonly)
Value of the type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: type.
36 37 38 39 40 |
# File 'lib/inttegro/file/source.rb', line 36 class Source < T::Struct const :type, T.nilable(Inttegro::File::SourceType), default: nil const :service, T.nilable(String), default: nil const :upload_request_id, T.nilable(String), default: nil end |
#upload_request_id ⇒ String? (readonly)
Value of the upload_request_id field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: upload_request_id.
36 37 38 39 40 |
# File 'lib/inttegro/file/source.rb', line 36 class Source < T::Struct const :type, T.nilable(Inttegro::File::SourceType), default: nil const :service, T.nilable(String), default: nil const :upload_request_id, T.nilable(String), default: nil end |