Class: Inttegro::File::ActorInput

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/file/actor_input.rb

Overview

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

#email ⇒ String? (readonly)

Value of the email field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class ActorInput < T::Struct
  const :email, T.nilable(String), default: nil
  const :id, T.nilable(String), default: nil
  const :name, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end

#id ⇒ String? (readonly)

Value of the id field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class ActorInput < T::Struct
  const :email, T.nilable(String), default: nil
  const :id, T.nilable(String), default: nil
  const :name, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end

#name ⇒ String? (readonly)

Value of the name field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class ActorInput < T::Struct
  const :email, T.nilable(String), default: nil
  const :id, T.nilable(String), default: nil
  const :name, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end

#type ⇒ String? (readonly)

Value of the type field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class ActorInput < T::Struct
  const :email, T.nilable(String), default: nil
  const :id, T.nilable(String), default: nil
  const :name, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end