Class: Telnyx::Models::TrafficPolicyProfile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TrafficPolicyProfile
- Defined in:
- lib/telnyx/models/traffic_policy_profile.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#domains ⇒ Array<String>?
Array of domain names.
-
#ip_ranges ⇒ Array<String>?
Array of IP ranges in CIDR notation.
-
#limit_bw_kbps ⇒ Integer?
Bandwidth limit in kbps.
-
#services ⇒ Array<String>?
Array of PCEF service IDs included in the profile.
-
#type ⇒ Symbol, ...
The type of the traffic policy profile.
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(id: nil, created_at: nil, domains: nil, ip_ranges: nil, limit_bw_kbps: nil, record_type: nil, services: nil, type: nil, updated_at: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/traffic_policy_profile.rb', line 62
|
Instance Attribute Details
#domains ⇒ Array<String>?
Array of domain names.
11 |
# File 'lib/telnyx/models/traffic_policy_profile.rb', line 11 optional :domains, Telnyx::Internal::Type::ArrayOf[String] |
#ip_ranges ⇒ Array<String>?
Array of IP ranges in CIDR notation.
17 |
# File 'lib/telnyx/models/traffic_policy_profile.rb', line 17 optional :ip_ranges, Telnyx::Internal::Type::ArrayOf[String] |
#limit_bw_kbps ⇒ Integer?
Bandwidth limit in kbps.
23 |
# File 'lib/telnyx/models/traffic_policy_profile.rb', line 23 optional :limit_bw_kbps, Integer, nil?: true |
#services ⇒ Array<String>?
Array of PCEF service IDs included in the profile.
29 |
# File 'lib/telnyx/models/traffic_policy_profile.rb', line 29 optional :services, Telnyx::Internal::Type::ArrayOf[String] |
#type ⇒ Symbol, ...
The type of the traffic policy profile.
35 |
# File 'lib/telnyx/models/traffic_policy_profile.rb', line 35 optional :type, enum: -> { Telnyx::TrafficPolicyProfile::Type } |