Class: Inttegro::UploadRequest::ReviewAttemptByIDRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::UploadRequest::ReviewAttemptByIDRequest
- Defined in:
- lib/inttegro/upload_request/review_attempt_by_id_request.rb
Overview
Typed representation of the review attempt by id request 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
-
#attempt_id ⇒ String
readonly
Value of the
attempt_idfield in the Inttegro API payload. -
#decision ⇒ Inttegro::Shared::UploadReviewDecision
readonly
Value of the
decisionfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#public_message ⇒ String?
readonly
Value of the
public_messagefield in the Inttegro API payload. -
#reasons ⇒ Array<Inttegro::UploadRequest::ReviewReasonInput>?
readonly
Value of the
reasonsfield in the Inttegro API payload.
Instance Attribute Details
#attempt_id ⇒ String (readonly)
Value of the attempt_id field in the Inttegro API payload.
Required in the API payload. Wire name: attempt_id.
49 50 51 52 53 54 55 |
# File 'lib/inttegro/upload_request/review_attempt_by_id_request.rb', line 49 class ReviewAttemptByIDRequest < T::Struct const :attempt_id, String const :decision, Inttegro::Shared::UploadReviewDecision const :id, String const :public_message, T.nilable(String), default: nil const :reasons, T.nilable(T::Array[Inttegro::UploadRequest::ReviewReasonInput]), default: nil end |
#decision ⇒ Inttegro::Shared::UploadReviewDecision (readonly)
Value of the decision field in the Inttegro API payload.
Required in the API payload. Wire name: decision.
49 50 51 52 53 54 55 |
# File 'lib/inttegro/upload_request/review_attempt_by_id_request.rb', line 49 class ReviewAttemptByIDRequest < T::Struct const :attempt_id, String const :decision, Inttegro::Shared::UploadReviewDecision const :id, String const :public_message, T.nilable(String), default: nil const :reasons, T.nilable(T::Array[Inttegro::UploadRequest::ReviewReasonInput]), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
49 50 51 52 53 54 55 |
# File 'lib/inttegro/upload_request/review_attempt_by_id_request.rb', line 49 class ReviewAttemptByIDRequest < T::Struct const :attempt_id, String const :decision, Inttegro::Shared::UploadReviewDecision const :id, String const :public_message, T.nilable(String), default: nil const :reasons, T.nilable(T::Array[Inttegro::UploadRequest::ReviewReasonInput]), default: nil end |
#public_message ⇒ String? (readonly)
Value of the public_message field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: public_message.
49 50 51 52 53 54 55 |
# File 'lib/inttegro/upload_request/review_attempt_by_id_request.rb', line 49 class ReviewAttemptByIDRequest < T::Struct const :attempt_id, String const :decision, Inttegro::Shared::UploadReviewDecision const :id, String const :public_message, T.nilable(String), default: nil const :reasons, T.nilable(T::Array[Inttegro::UploadRequest::ReviewReasonInput]), default: nil end |
#reasons ⇒ Array<Inttegro::UploadRequest::ReviewReasonInput>? (readonly)
Value of the reasons field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reasons.
49 50 51 52 53 54 55 |
# File 'lib/inttegro/upload_request/review_attempt_by_id_request.rb', line 49 class ReviewAttemptByIDRequest < T::Struct const :attempt_id, String const :decision, Inttegro::Shared::UploadReviewDecision const :id, String const :public_message, T.nilable(String), default: nil const :reasons, T.nilable(T::Array[Inttegro::UploadRequest::ReviewReasonInput]), default: nil end |