Class: Inttegro::UploadRequest::AttemptsRequest

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

Overview

Typed representation of the attempts 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

Instance Attribute Details

#max_attempts ⇒ Integer? (readonly)

Value of the max_attempts field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: max_attempts.

Returns:

  • (Integer, nil)


23
24
25
# File 'lib/inttegro/upload_request/attempts_request.rb', line 23

class AttemptsRequest < T::Struct
  const :max_attempts, T.nilable(Integer), default: nil
end