Class: Inttegro::UploadRequest::ReviewReasonInput

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/upload_request/review_reason_input.rb

Overview

Typed representation of the review reason input 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

Instance Attribute Details

#code ⇒ String (readonly)

Value of the code field in the Inttegro API payload.

Required in the API payload. Wire name: code.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/upload_request/review_reason_input.rb', line 35

class ReviewReasonInput < 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.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/upload_request/review_reason_input.rb', line 35

class ReviewReasonInput < 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.

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/upload_request/review_reason_input.rb', line 35

class ReviewReasonInput < T::Struct
  const :code, String
  const :message, String
  const :param, T.nilable(String), default: nil
end