Class: Inttegro::FileLink::RevokeRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FileLink::RevokeRequest
- Defined in:
- lib/inttegro/file_link/revoke_request.rb
Overview
Typed representation of the revoke 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
-
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#revoked_by ⇒ Inttegro::File::ActorInput?
readonly
Value of the
revoked_byfield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
30 31 32 33 |
# File 'lib/inttegro/file_link/revoke_request.rb', line 30 class RevokeRequest < T::Struct const :id, String const :revoked_by, T.nilable(Inttegro::File::ActorInput), default: nil end |
#revoked_by ⇒ Inttegro::File::ActorInput? (readonly)
Value of the revoked_by field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: revoked_by.
30 31 32 33 |
# File 'lib/inttegro/file_link/revoke_request.rb', line 30 class RevokeRequest < T::Struct const :id, String const :revoked_by, T.nilable(Inttegro::File::ActorInput), default: nil end |