Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated::Config
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated::Config
- Defined in:
- lib/openai/models/admin/organization/audit_log_list_response.rb,
sig/openai/models/admin/organization/audit_log_list_response.rbs
Instance Attribute Summary collapse
-
#id ⇒ String?
The ID of the IP allowlist configuration.
-
#name ⇒ String?
The name of the IP allowlist configuration.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(configs: nil) ⇒ Config
constructor
A new instance of Config.
- #to_hash ⇒ { ?id: String, ?name: String }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(configs: nil) ⇒ Config
Returns a new instance of Config.
1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1851 class Config < OpenAI::Internal::Type::BaseModel # @!attribute id # The ID of the IP allowlist configuration. # # @return [String, nil] optional :id, String # @!attribute name # The name of the IP allowlist configuration. # # @return [String, nil] optional :name, String # @!method initialize(id: nil, name: nil) # @param id [String] # The ID of the IP allowlist configuration. # # @param name [String] # The name of the IP allowlist configuration. end |
Instance Attribute Details
#id ⇒ String?
The ID of the IP allowlist configuration.
1856 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1856 optional :id, String |
#name ⇒ String?
The name of the IP allowlist configuration.
1862 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1862 optional :name, String |
Instance Method Details
#to_hash ⇒ { ?id: String, ?name: String }
2188 |
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 2188
def to_hash: -> { ?id: String, ?name: String }
|