Class: Telnyx::Models::IntegrationSecretListParams::Filter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/integration_secret_list_params.rb,
sig/telnyx/models/integration_secret_list_params.rbs

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

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(type: nil) ⇒ Object

Consolidated filter parameter (deepObject style). Originally: filter

Parameters:



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/telnyx/models/integration_secret_list_params.rb', line 35

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute type
  #
  #   @return [Symbol, Telnyx::Models::IntegrationSecretListParams::Filter::Type, nil]
  optional :type, enum: -> { Telnyx::IntegrationSecretListParams::Filter::Type }

  # @!method initialize(type: nil)
  #   Consolidated filter parameter (deepObject style). Originally: filter[type]
  #
  #   @param type [Symbol, Telnyx::Models::IntegrationSecretListParams::Filter::Type]

  # @see Telnyx::Models::IntegrationSecretListParams::Filter#type
  module Type
    extend Telnyx::Internal::Type::Enum

    BEARER = :bearer
    BASIC = :basic

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#typeSymbol, ...



39
# File 'lib/telnyx/models/integration_secret_list_params.rb', line 39

optional :type, enum: -> { Telnyx::IntegrationSecretListParams::Filter::Type }

Instance Method Details

#to_hash{

Returns:

  • ({)


57
# File 'sig/telnyx/models/integration_secret_list_params.rbs', line 57

def to_hash: -> {