Class: Courier::Models::ProviderUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::ProviderUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/courier/models/provider_update_params.rb
Overview
Instance Attribute Summary collapse
-
#alias_ ⇒ String?
Updated alias.
- #id ⇒ String
-
#provider ⇒ String
The provider key identifying the type.
-
#settings ⇒ Hash{Symbol=>Object}?
Provider-specific settings (snake_case keys).
-
#title ⇒ String?
Updated display title.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(id:, provider:, alias_: nil, settings: nil, title: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ProviderUpdateParams for more details.
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(id:, provider:, alias_: nil, settings: nil, title: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Courier::Models::ProviderUpdateParams for more details.
|
|
# File 'lib/courier/models/provider_update_params.rb', line 41
|
Instance Attribute Details
#alias_ ⇒ String?
Updated alias. Omit to clear.
25 |
# File 'lib/courier/models/provider_update_params.rb', line 25 optional :alias_, String, api_name: :alias |
#id ⇒ String
13 |
# File 'lib/courier/models/provider_update_params.rb', line 13 required :id, String |
#provider ⇒ String
The provider key identifying the type.
19 |
# File 'lib/courier/models/provider_update_params.rb', line 19 required :provider, String |
#settings ⇒ Hash{Symbol=>Object}?
Provider-specific settings (snake_case keys). Replaces the full settings object — omitted settings fields are removed. Use the catalog endpoint to check required fields.
33 |
# File 'lib/courier/models/provider_update_params.rb', line 33 optional :settings, Courier::Internal::Type::HashOf[Courier::Internal::Type::Unknown] |
#title ⇒ String?
Updated display title.
39 |
# File 'lib/courier/models/provider_update_params.rb', line 39 optional :title, String |