Class: Inttegro::Application::Updated
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Application::Updated
- Defined in:
- lib/inttegro/app/updated.rb
Overview
Typed representation of the updated 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
-
#alias ⇒ String?
readonly
Value of the
aliasfield in the Inttegro API payload. -
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#updated_at ⇒ Time?
readonly
Value of the
updated_atfield in the Inttegro API payload.
Instance Attribute Details
#alias ⇒ String? (readonly)
Value of the alias field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: alias.
53 54 55 56 57 58 59 60 |
# File 'lib/inttegro/app/updated.rb', line 53 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#created_at ⇒ Time (readonly)
Value of the created_at field in the Inttegro API payload.
Required in the API payload. Wire name: created_at.
53 54 55 56 57 58 59 60 |
# File 'lib/inttegro/app/updated.rb', line 53 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#description ⇒ String? (readonly)
Value of the description field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: description.
53 54 55 56 57 58 59 60 |
# File 'lib/inttegro/app/updated.rb', line 53 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
53 54 55 56 57 58 59 60 |
# File 'lib/inttegro/app/updated.rb', line 53 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
53 54 55 56 57 58 59 60 |
# File 'lib/inttegro/app/updated.rb', line 53 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |
#updated_at ⇒ Time? (readonly)
Value of the updated_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: updated_at.
53 54 55 56 57 58 59 60 |
# File 'lib/inttegro/app/updated.rb', line 53 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil end |