Class: Telnyx::Models::IPListParams::Filter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::IPListParams::Filter
- Defined in:
- lib/telnyx/models/ip_list_params.rb,
sig/telnyx/models/ip_list_params.rbs
Instance Attribute Summary collapse
-
#connection_id ⇒ String?
ID of the IP Connection to which this IP should be attached.
-
#ip_address ⇒ String?
IP adddress represented by this resource.
-
#port ⇒ Integer?
Port to use when connecting to this IP.
Instance Method Summary collapse
-
#initialize(connection_id: nil, ip_address: nil, port: 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(connection_id: nil, ip_address: nil, port: nil) ⇒ Object
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 |
# File 'lib/telnyx/models/ip_list_params.rb', line 40 class Filter < Telnyx::Internal::Type::BaseModel # @!attribute connection_id # ID of the IP Connection to which this IP should be attached. # # @return [String, nil] optional :connection_id, String # @!attribute ip_address # IP adddress represented by this resource. # # @return [String, nil] optional :ip_address, String # @!attribute port # Port to use when connecting to this IP. # # @return [Integer, nil] optional :port, Integer # @!method initialize(connection_id: nil, ip_address: nil, port: nil) # Consolidated filter parameter (deepObject style). Originally: # filter[connection_id], filter[ip_address], filter[port] # # @param connection_id [String] ID of the IP Connection to which this IP should be attached. # # @param ip_address [String] IP adddress represented by this resource. # # @param port [Integer] Port to use when connecting to this IP. end |
Instance Attribute Details
#connection_id ⇒ String?
ID of the IP Connection to which this IP should be attached.
45 |
# File 'lib/telnyx/models/ip_list_params.rb', line 45 optional :connection_id, String |
#ip_address ⇒ String?
IP adddress represented by this resource.
51 |
# File 'lib/telnyx/models/ip_list_params.rb', line 51 optional :ip_address, String |
#port ⇒ Integer?
Port to use when connecting to this IP.
57 |
# File 'lib/telnyx/models/ip_list_params.rb', line 57 optional :port, Integer |
Instance Method Details
#to_hash ⇒ {
64 |
# File 'sig/telnyx/models/ip_list_params.rbs', line 64
def to_hash: -> {
|