Class: Inttegro::FileReference::ReconcileRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/file_reference/reconcile_request.rb

Overview

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

#references ⇒ Array<Inttegro::FileReference::Input>? (readonly)

Value of the references field in the Inttegro API payload.

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

Returns:



36
37
38
39
40
# File 'lib/inttegro/file_reference/reconcile_request.rb', line 36

class ReconcileRequest < T::Struct
  const :resource_type, String
  const :resource_id, String
  const :references, T.nilable(T::Array[Inttegro::FileReference::Input]), default: nil
end

#resource_id ⇒ String (readonly)

Non-blank resource ID after trimming.

Required in the API payload. Wire name: resource_id.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/file_reference/reconcile_request.rb', line 36

class ReconcileRequest < T::Struct
  const :resource_type, String
  const :resource_id, String
  const :references, T.nilable(T::Array[Inttegro::FileReference::Input]), default: nil
end

#resource_type ⇒ String (readonly)

Non-blank resource type after trimming.

Required in the API payload. Wire name: resource_type.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/file_reference/reconcile_request.rb', line 36

class ReconcileRequest < T::Struct
  const :resource_type, String
  const :resource_id, String
  const :references, T.nilable(T::Array[Inttegro::FileReference::Input]), default: nil
end