Class: Telnyx::Models::PublicInternetGatewayListParams::Filter

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

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(network_id: nil) ⇒ Filter

Consolidated filter parameter (deepObject style). Originally: filter

Parameters:

  • network_id (String) (defaults to: nil)

    The associated network id to filter on.

  • network_id: (String) (defaults to: nil)


38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/telnyx/models/public_internet_gateway_list_params.rb', line 38

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute network_id
  #   The associated network id to filter on.
  #
  #   @return [String, nil]
  optional :network_id, String

  # @!method initialize(network_id: nil)
  #   Consolidated filter parameter (deepObject style). Originally: filter[network_id]
  #
  #   @param network_id [String] The associated network id to filter on.
end

Instance Attribute Details

#network_idString?

The associated network id to filter on.

Parameters:

  • (String)

Returns:

  • (String, nil)


43
# File 'lib/telnyx/models/public_internet_gateway_list_params.rb', line 43

optional :network_id, String

Instance Method Details

#to_hash{ network_id: String }

Returns:

  • ({ network_id: String })


52
# File 'sig/telnyx/models/public_internet_gateway_list_params.rbs', line 52

def to_hash: -> { network_id: String }