Class: Inttegro::UploadRequest::ValidationFailureError

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

Overview

Typed representation of the validation failure error 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)


41
42
43
44
45
46
# File 'lib/inttegro/upload_request/validation_failure_error.rb', line 41

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

#message ⇒ String (readonly)

Value of the message field in the Inttegro API payload.

Required in the API payload. Wire name: message.

Returns:

  • (String)


41
42
43
44
45
46
# File 'lib/inttegro/upload_request/validation_failure_error.rb', line 41

class ValidationFailureError < T::Struct
  const :code, String
  const :param, T.nilable(String), default: nil
  const :message, String
  const :retryable, T::Boolean
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)


41
42
43
44
45
46
# File 'lib/inttegro/upload_request/validation_failure_error.rb', line 41

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

#retryable ⇒ Boolean (readonly)

Value of the retryable field in the Inttegro API payload.

Required in the API payload. Wire name: retryable.

Returns:

  • (Boolean)


41
42
43
44
45
46
# File 'lib/inttegro/upload_request/validation_failure_error.rb', line 41

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