Class: Inttegro::SecretKey::UpdateRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::SecretKey::UpdateRequest
- Defined in:
- lib/inttegro/secret_key/update_request.rb
Overview
Typed representation of the update 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
-
#label ⇒ String
readonly
Human-readable label for the secret key.
-
#secret_key_id ⇒ String
readonly
Secret key identifier to update.
Instance Attribute Details
#label ⇒ String (readonly)
Human-readable label for the secret key. Send an empty string to clear the label.
Required in the API payload. Wire name: label.
29 30 31 32 |
# File 'lib/inttegro/secret_key/update_request.rb', line 29 class UpdateRequest < T::Struct const :label, String const :secret_key_id, String end |
#secret_key_id ⇒ String (readonly)
Secret key identifier to update.
Required in the API payload. Wire name: secret_key_id.
29 30 31 32 |
# File 'lib/inttegro/secret_key/update_request.rb', line 29 class UpdateRequest < T::Struct const :label, String const :secret_key_id, String end |