Class: Inttegro::UploadRequest::ReviewReason
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::UploadRequest::ReviewReason
- Defined in:
- lib/inttegro/upload_request/review_reason.rb
Overview
Typed representation of the review reason 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
-
#code ⇒ String
readonly
Value of the
codefield in the Inttegro API payload. -
#message ⇒ String
readonly
Value of the
messagefield in the Inttegro API payload. -
#param ⇒ String?
readonly
Value of the
paramfield in the Inttegro API payload.
Instance Attribute Details
#code ⇒ String (readonly)
Value of the code field in the Inttegro API payload.
Required in the API payload. Wire name: code.
35 36 37 38 39 |
# File 'lib/inttegro/upload_request/review_reason.rb', line 35 class ReviewReason < T::Struct const :code, String const :message, String const :param, T.nilable(String), default: nil end |
#message ⇒ String (readonly)
Value of the message field in the Inttegro API payload.
Required in the API payload. Wire name: message.
35 36 37 38 39 |
# File 'lib/inttegro/upload_request/review_reason.rb', line 35 class ReviewReason < T::Struct const :code, String const :message, String const :param, T.nilable(String), default: nil end |
#param ⇒ String? (readonly)
Value of the param field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: param.
35 36 37 38 39 |
# File 'lib/inttegro/upload_request/review_reason.rb', line 35 class ReviewReason < T::Struct const :code, String const :message, String const :param, T.nilable(String), default: nil end |