Class: Telnyx::Models::WireguardPeerListParams::Filter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/wireguard_peer_list_params.rb,
sig/telnyx/models/wireguard_peer_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(wireguard_interface_id: nil) ⇒ Filter

Consolidated filter parameter (deepObject style). Originally: filter

Parameters:

  • wireguard_interface_id (String) (defaults to: nil)

    The id of the associated WireGuard interface to filter on.

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


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

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute wireguard_interface_id
  #   The id of the associated WireGuard interface to filter on.
  #
  #   @return [String, nil]
  optional :wireguard_interface_id, String

  # @!method initialize(wireguard_interface_id: nil)
  #   Consolidated filter parameter (deepObject style). Originally:
  #   filter[wireguard_interface_id]
  #
  #   @param wireguard_interface_id [String] The id of the associated WireGuard interface to filter on.
end

Instance Attribute Details

#wireguard_interface_idString?

The id of the associated WireGuard interface to filter on.

Parameters:

  • (String)

Returns:

  • (String, nil)


44
# File 'lib/telnyx/models/wireguard_peer_list_params.rb', line 44

optional :wireguard_interface_id, String

Instance Method Details

#to_hash{ wireguard_interface_id: String }

Returns:

  • ({ wireguard_interface_id: String })


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

def to_hash: -> { wireguard_interface_id: String }