Class: Telnyx::Models::FqdnListParams::Filter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/fqdn_list_params.rb,
sig/telnyx/models/fqdn_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(connection_id: nil, dns_record_type: nil, fqdn: nil, port: nil) ⇒ Object

Consolidated filter parameter (deepObject style). Originally: filter, filter, filter, filter

Parameters:

  • connection_id (String) (defaults to: nil)

    ID of the FQDN connection to which the FQDN belongs.

  • dns_record_type (String) (defaults to: nil)

    DNS record type used by the FQDN.

  • fqdn (String) (defaults to: nil)

    FQDN represented by the resource.

  • port (Integer) (defaults to: nil)

    Port to use when connecting to the FQDN.



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
73
74
75
76
# File 'lib/telnyx/models/fqdn_list_params.rb', line 40

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute connection_id
  #   ID of the FQDN connection to which the FQDN belongs.
  #
  #   @return [String, nil]
  optional :connection_id, String

  # @!attribute dns_record_type
  #   DNS record type used by the FQDN.
  #
  #   @return [String, nil]
  optional :dns_record_type, String

  # @!attribute fqdn
  #   FQDN represented by the resource.
  #
  #   @return [String, nil]
  optional :fqdn, String

  # @!attribute port
  #   Port to use when connecting to the FQDN.
  #
  #   @return [Integer, nil]
  optional :port, Integer

  # @!method initialize(connection_id: nil, dns_record_type: nil, fqdn: nil, port: nil)
  #   Consolidated filter parameter (deepObject style). Originally:
  #   filter[connection_id], filter[fqdn], filter[port], filter[dns_record_type]
  #
  #   @param connection_id [String] ID of the FQDN connection to which the FQDN belongs.
  #
  #   @param dns_record_type [String] DNS record type used by the FQDN.
  #
  #   @param fqdn [String] FQDN represented by the resource.
  #
  #   @param port [Integer] Port to use when connecting to the FQDN.
end

Instance Attribute Details

#connection_idString?

ID of the FQDN connection to which the FQDN belongs.

Parameters:

  • (String)

Returns:

  • (String, nil)


45
# File 'lib/telnyx/models/fqdn_list_params.rb', line 45

optional :connection_id, String

#dns_record_typeString?

DNS record type used by the FQDN.

Parameters:

  • (String)

Returns:

  • (String, nil)


51
# File 'lib/telnyx/models/fqdn_list_params.rb', line 51

optional :dns_record_type, String

#fqdnString?

FQDN represented by the resource.

Parameters:

  • (String)

Returns:

  • (String, nil)


57
# File 'lib/telnyx/models/fqdn_list_params.rb', line 57

optional :fqdn, String

#portInteger?

Port to use when connecting to the FQDN.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


63
# File 'lib/telnyx/models/fqdn_list_params.rb', line 63

optional :port, Integer

Instance Method Details

#to_hash{

Returns:

  • ({)


75
# File 'sig/telnyx/models/fqdn_list_params.rbs', line 75

def to_hash: -> {