Class: OpenAI::Models::ContainerListResponse::NetworkPolicy
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::ContainerListResponse::NetworkPolicy
- Defined in:
- lib/openai/models/container_list_response.rb,
sig/openai/models/container_list_response.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#allowed_domains ⇒ ::Array[String]?
Allowed outbound domains when
typeisallowlist. -
#type ⇒ OpenAI::Models::ContainerListResponse::NetworkPolicy::type_
The network policy mode.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(type:, allowed_domains: nil) ⇒ Object
|
|
# File 'lib/openai/models/container_list_response.rb', line 160
|
Instance Attribute Details
#allowed_domains ⇒ ::Array[String]?
Allowed outbound domains when type is allowlist.
158 |
# File 'lib/openai/models/container_list_response.rb', line 158 optional :allowed_domains, OpenAI::Internal::Type::ArrayOf[String] |
#type ⇒ OpenAI::Models::ContainerListResponse::NetworkPolicy::type_
The network policy mode.
152 |
# File 'lib/openai/models/container_list_response.rb', line 152 required :type, enum: -> { OpenAI::Models::ContainerListResponse::NetworkPolicy::Type } |
Instance Method Details
#to_hash ⇒ {
194 |
# File 'sig/openai/models/container_list_response.rbs', line 194
def to_hash: -> {
|