Class: Telnyx::Models::MobilePushCredentialListParams::Filter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MobilePushCredentialListParams::Filter
- Defined in:
- lib/telnyx/models/mobile_push_credential_list_params.rb,
sig/telnyx/models/mobile_push_credential_list_params.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#alias_ ⇒ String?
Unique mobile push credential alias.
-
#type ⇒ Symbol, ...
type of mobile push credentials.
Instance Method Summary collapse
-
#initialize(alias_: nil, type: nil) ⇒ Object
constructor
Consolidated filter parameter (deepObject style).
- #to_hash ⇒ {
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(alias_: nil, type: nil) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/telnyx/models/mobile_push_credential_list_params.rb', line 39 class Filter < Telnyx::Internal::Type::BaseModel # @!attribute alias_ # Unique mobile push credential alias # # @return [String, nil] optional :alias_, String, api_name: :alias # @!attribute type # type of mobile push credentials # # @return [Symbol, Telnyx::Models::MobilePushCredentialListParams::Filter::Type, nil] optional :type, enum: -> { Telnyx::MobilePushCredentialListParams::Filter::Type } # @!method initialize(alias_: nil, type: nil) # Consolidated filter parameter (deepObject style). Originally: filter[type], # filter[alias] # # @param alias_ [String] Unique mobile push credential alias # # @param type [Symbol, Telnyx::Models::MobilePushCredentialListParams::Filter::Type] type of mobile push credentials # type of mobile push credentials # # @see Telnyx::Models::MobilePushCredentialListParams::Filter#type module Type extend Telnyx::Internal::Type::Enum IOS = :ios ANDROID = :android # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#alias_ ⇒ String?
Unique mobile push credential alias
44 |
# File 'lib/telnyx/models/mobile_push_credential_list_params.rb', line 44 optional :alias_, String, api_name: :alias |
#type ⇒ Symbol, ...
type of mobile push credentials
50 |
# File 'lib/telnyx/models/mobile_push_credential_list_params.rb', line 50 optional :type, enum: -> { Telnyx::MobilePushCredentialListParams::Filter::Type } |
Instance Method Details
#to_hash ⇒ {
65 |
# File 'sig/telnyx/models/mobile_push_credential_list_params.rbs', line 65 def to_hash: -> { |