Class: Courier::Models::Users::TokenUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::Users::TokenUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/courier/models/users/token_update_params.rb,
sig/courier/models/users/token_update_params.rbs
Overview
Defined Under Namespace
Classes: Patch
Instance Attribute Summary collapse
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize ⇒ TokenUpdateParams
constructor
A new instance of TokenUpdateParams.
- #to_hash ⇒ { user_id: String, token: String, patch: ::Array[Courier::Users::TokenUpdateParams::Patch], request_options: Courier::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ TokenUpdateParams
Returns a new instance of TokenUpdateParams.
22 23 24 25 26 27 |
# File 'sig/courier/models/users/token_update_params.rbs', line 22
def initialize: (
user_id: String,
token: String,
patch: ::Array[Courier::Users::TokenUpdateParams::Patch],
?request_options: Courier::request_opts
) -> void
|
Instance Attribute Details
#patch ⇒ Array<Courier::Models::Users::TokenUpdateParams::Patch>
24 |
# File 'lib/courier/models/users/token_update_params.rb', line 24 required :patch, -> { Courier::Internal::Type::ArrayOf[Courier::Users::TokenUpdateParams::Patch] } |
#token ⇒ String
19 |
# File 'lib/courier/models/users/token_update_params.rb', line 19 required :token, String |
#user_id ⇒ String
14 |
# File 'lib/courier/models/users/token_update_params.rb', line 14 required :user_id, String |
Instance Method Details
#to_hash ⇒ { user_id: String, token: String, patch: ::Array[Courier::Users::TokenUpdateParams::Patch], request_options: Courier::RequestOptions }
29 30 31 32 33 34 |
# File 'sig/courier/models/users/token_update_params.rbs', line 29
def to_hash: -> {
user_id: String,
token: String,
patch: ::Array[Courier::Users::TokenUpdateParams::Patch],
request_options: Courier::RequestOptions
}
|