Class: OpenAI::Models::Admin::Organization::Health::AlertRuleListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Health::AlertRuleListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/admin/organization/health/alert_rule_list_params.rb,
sig/openai/models/admin/organization/health/alert_rule_list_params.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ AlertRuleListParams
constructor
A new instance of AlertRuleListParams.
- #to_hash ⇒ { ?enabled: bool, ?limit: Integer, ?page: String, ?type: OpenAI::Models::Admin::Organization::Health::AlertRuleListParams::type_, ?request_options: OpenAI::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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 ⇒ AlertRuleListParams
Returns a new instance of AlertRuleListParams.
37 38 39 40 41 42 43 |
# File 'sig/openai/models/admin/organization/health/alert_rule_list_params.rbs', line 37
def initialize: (
?enabled: bool,
?limit: Integer,
?page: String,
?type: OpenAI::Models::Admin::Organization::Health::AlertRuleListParams::type_,
?request_options: OpenAI::request_opts
) -> void
|
Instance Attribute Details
#enabled ⇒ Boolean?
16 |
# File 'lib/openai/models/admin/organization/health/alert_rule_list_params.rb', line 16 optional :enabled, OpenAI::Internal::Type::Boolean |
#limit ⇒ Integer?
21 |
# File 'lib/openai/models/admin/organization/health/alert_rule_list_params.rb', line 21 optional :limit, Integer |
#page ⇒ String?
26 |
# File 'lib/openai/models/admin/organization/health/alert_rule_list_params.rb', line 26 optional :page, String |
#type ⇒ Symbol, ...
31 |
# File 'lib/openai/models/admin/organization/health/alert_rule_list_params.rb', line 31 optional :type, enum: -> { OpenAI::Admin::Organization::Health::AlertRuleListParams::Type } |
Instance Method Details
#to_hash ⇒ { ?enabled: bool, ?limit: Integer, ?page: String, ?type: OpenAI::Models::Admin::Organization::Health::AlertRuleListParams::type_, ?request_options: OpenAI::RequestOptions }
45 46 47 48 49 50 51 |
# File 'sig/openai/models/admin/organization/health/alert_rule_list_params.rbs', line 45
def to_hash: -> {
?enabled: bool,
?limit: Integer,
?page: String,
?type: OpenAI::Models::Admin::Organization::Health::AlertRuleListParams::type_,
?request_options: OpenAI::RequestOptions
}
|