Class: OpenAI::Models::Admin::Organization::Health::HealthAlert::Dimensions
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Health::HealthAlert::Dimensions
- Defined in:
- lib/openai/models/admin/organization/health/health_alert.rb,
sig/openai/models/admin/organization/health/health_alert.rbs
Overview
Instance Attribute Summary collapse
-
#http_status ⇒ Integer?
Independently evaluated 4xx or 5xx code.
- #model ⇒ String?
- #observability_tag ⇒ String?
- #project_id ⇒ String?
- #service_tier ⇒ String?
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ Dimensions
constructor
A new instance of Dimensions.
- #to_hash ⇒ { model: String?, project_id: String?, service_tier: String?, ?http_status: Integer, ?observability_tag: 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 ⇒ Dimensions
Returns a new instance of Dimensions.
112 113 114 115 116 117 118 |
# File 'sig/openai/models/admin/organization/health/health_alert.rbs', line 112
def initialize: (
model: String?,
project_id: String?,
service_tier: String?,
?http_status: Integer,
?observability_tag: String
) -> void
|
Instance Attribute Details
#http_status ⇒ Integer?
Independently evaluated 4xx or 5xx code. Omitted for legacy aggregate snapshots and other alert types.
109 |
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 109 optional :http_status, Integer |
#model ⇒ String?
92 |
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 92 required :model, String, nil?: true |
#observability_tag ⇒ String?
114 |
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 114 optional :observability_tag, String |
#project_id ⇒ String?
97 |
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 97 required :project_id, String, nil?: true |
#service_tier ⇒ String?
102 |
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 102 required :service_tier, String, nil?: true |
Instance Method Details
#to_hash ⇒ { model: String?, project_id: String?, service_tier: String?, ?http_status: Integer, ?observability_tag: String }
120 121 122 123 124 125 126 |
# File 'sig/openai/models/admin/organization/health/health_alert.rbs', line 120
def to_hash: -> {
model: String?,
project_id: String?,
service_tier: String?,
?http_status: Integer,
?observability_tag: String
}
|