Class: Telnyx::Models::TelephonyCredentialListParams::Filter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TelephonyCredentialListParams::Filter
- Defined in:
- lib/telnyx/models/telephony_credential_list_params.rb,
sig/telnyx/models/telephony_credential_list_params.rbs
Instance Attribute Summary collapse
-
#name ⇒ String?
Filter by name.
-
#resource_id ⇒ String?
Filter by resource_id.
-
#sip_username ⇒ String?
Filter by sip_username.
-
#status ⇒ String?
Filter by status.
-
#tag ⇒ String?
Filter by tag.
Instance Method Summary collapse
-
#initialize(name: nil, resource_id: nil, sip_username: nil, status: nil, tag: 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(name: nil, resource_id: nil, sip_username: nil, status: nil, tag: nil) ⇒ Object
39 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 77 78 79 80 81 82 83 |
# File 'lib/telnyx/models/telephony_credential_list_params.rb', line 39 class Filter < Telnyx::Internal::Type::BaseModel # @!attribute name # Filter by name # # @return [String, nil] optional :name, String # @!attribute resource_id # Filter by resource_id # # @return [String, nil] optional :resource_id, String # @!attribute sip_username # Filter by sip_username # # @return [String, nil] optional :sip_username, String # @!attribute status # Filter by status # # @return [String, nil] optional :status, String # @!attribute tag # Filter by tag # # @return [String, nil] optional :tag, String # @!method initialize(name: nil, resource_id: nil, sip_username: nil, status: nil, tag: nil) # Consolidated filter parameter (deepObject style). Originally: filter[tag], # filter[name], filter[status], filter[resource_id], filter[sip_username] # # @param name [String] Filter by name # # @param resource_id [String] Filter by resource_id # # @param sip_username [String] Filter by sip_username # # @param status [String] Filter by status # # @param tag [String] Filter by tag end |
Instance Attribute Details
#name ⇒ String?
Filter by name
44 |
# File 'lib/telnyx/models/telephony_credential_list_params.rb', line 44 optional :name, String |
#resource_id ⇒ String?
Filter by resource_id
50 |
# File 'lib/telnyx/models/telephony_credential_list_params.rb', line 50 optional :resource_id, String |
#sip_username ⇒ String?
Filter by sip_username
56 |
# File 'lib/telnyx/models/telephony_credential_list_params.rb', line 56 optional :sip_username, String |
#status ⇒ String?
Filter by status
62 |
# File 'lib/telnyx/models/telephony_credential_list_params.rb', line 62 optional :status, String |
#tag ⇒ String?
Filter by tag
68 |
# File 'lib/telnyx/models/telephony_credential_list_params.rb', line 68 optional :tag, String |
Instance Method Details
#to_hash ⇒ {
81 |
# File 'sig/telnyx/models/telephony_credential_list_params.rbs', line 81 def to_hash: -> { |