Class: Knockapi::Models::TenantSetParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::TenantSetParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/knockapi/models/tenant_set_params.rb
Overview
Defined Under Namespace
Classes: Settings
Instance Attribute Summary collapse
-
#channel_data ⇒ Hash{Symbol=>Knockapi::Models::Recipients::PushChannelDataTokensOnly, Knockapi::Models::Recipients::PushChannelDataDevicesOnly, Knockapi::Models::Recipients::AwsSnsPushChannelDataTargetArnsOnly, Knockapi::Models::Recipients::AwsSnsPushChannelDataDevicesOnly, Knockapi::Models::Recipients::OneSignalChannelDataPlayerIDsOnly, Knockapi::Models::Recipients::SlackChannelData, Knockapi::Models::Recipients::MsTeamsChannelData, Knockapi::Models::Recipients::DiscordChannelData}?
A request to set channel data for a type of channel inline.
-
#name ⇒ String?
An optional name for the tenant.
-
#resolve_full_preference_settings ⇒ Boolean?
When true, merges environment-level default preferences into the tenant’s ‘settings.preference_set` field before returning the response.
-
#settings ⇒ Knockapi::Models::TenantSetParams::Settings?
The settings for the tenant.
Attributes included from Internal::Type::RequestParameters
Method Summary
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, #initialize, 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
This class inherits a constructor from Knockapi::Internal::Type::BaseModel
Instance Attribute Details
#channel_data ⇒ Hash{Symbol=>Knockapi::Models::Recipients::PushChannelDataTokensOnly, Knockapi::Models::Recipients::PushChannelDataDevicesOnly, Knockapi::Models::Recipients::AwsSnsPushChannelDataTargetArnsOnly, Knockapi::Models::Recipients::AwsSnsPushChannelDataDevicesOnly, Knockapi::Models::Recipients::OneSignalChannelDataPlayerIDsOnly, Knockapi::Models::Recipients::SlackChannelData, Knockapi::Models::Recipients::MsTeamsChannelData, Knockapi::Models::Recipients::DiscordChannelData}?
A request to set channel data for a type of channel inline.
22 23 24 25 26 |
# File 'lib/knockapi/models/tenant_set_params.rb', line 22 optional :channel_data, -> { Knockapi::Internal::Type::HashOf[union: Knockapi::Recipients::InlineChannelDataRequestItem] }, nil?: true |
#name ⇒ String?
An optional name for the tenant.
32 |
# File 'lib/knockapi/models/tenant_set_params.rb', line 32 optional :name, String, nil?: true |
#resolve_full_preference_settings ⇒ Boolean?
When true, merges environment-level default preferences into the tenant’s ‘settings.preference_set` field before returning the response. Defaults to false.
16 |
# File 'lib/knockapi/models/tenant_set_params.rb', line 16 optional :resolve_full_preference_settings, Knockapi::Internal::Type::Boolean |
#settings ⇒ Knockapi::Models::TenantSetParams::Settings?
The settings for the tenant. Includes branding and preference set.
38 |
# File 'lib/knockapi/models/tenant_set_params.rb', line 38 optional :settings, -> { Knockapi::TenantSetParams::Settings } |