Class: Telnyx::Models::TrafficPolicyProfileUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::TrafficPolicyProfileUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/traffic_policy_profile_update_params.rb
Overview
Defined Under Namespace
Modules: LimitBwKbps, Type
Instance Attribute Summary collapse
-
#domains ⇒ Array<String>?
Array of domain names.
- #id ⇒ String
-
#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 to include in the profile.
-
#type ⇒ Symbol, ...
The type of the traffic policy profile.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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:, domains: nil, ip_ranges: nil, limit_bw_kbps: nil, services: nil, type: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 45
|
Instance Attribute Details
#domains ⇒ Array<String>?
Array of domain names.
19 |
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 19 optional :domains, Telnyx::Internal::Type::ArrayOf[String] |
#id ⇒ String
13 |
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 13 required :id, String |
#ip_ranges ⇒ Array<String>?
Array of IP ranges in CIDR notation.
25 |
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 25 optional :ip_ranges, Telnyx::Internal::Type::ArrayOf[String] |
#limit_bw_kbps ⇒ Integer, ...
Bandwidth limit in kbps. Must be 512 or 1024, or null to remove.
31 |
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 31 optional :limit_bw_kbps, enum: -> { Telnyx::TrafficPolicyProfileUpdateParams::LimitBwKbps }, nil?: true |
#services ⇒ Array<String>?
Array of PCEF service IDs to include in the profile.
37 |
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 37 optional :services, Telnyx::Internal::Type::ArrayOf[String] |
#type ⇒ Symbol, ...
The type of the traffic policy profile.
43 |
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 43 optional :type, enum: -> { Telnyx::TrafficPolicyProfileUpdateParams::Type } |
Class Method Details
.values ⇒ Array<Integer>
|
|
# File 'lib/telnyx/models/traffic_policy_profile_update_params.rb', line 67
|