Class: Anthropic::Models::Beta::BetaManagedAgentsScheduleParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsScheduleParams
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#expression ⇒ String
5-field POSIX cron expression: minute hour day-of-month month day-of-week (e.g., “0 9 * * 1-5” for weekdays at 9am).
-
#timezone ⇒ String
Required.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsScheduleParams::Type
Instance Method Summary collapse
-
#initialize(expression:, timezone:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsScheduleParams for more details.
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(expression:, timezone:, type:) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsScheduleParams for more details.
5-field POSIX cron schedule. Literal wall-clock matching in the configured timezone.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb', line 29
|
Instance Attribute Details
#expression ⇒ String
5-field POSIX cron expression: minute hour day-of-month month day-of-week (e.g., “0 9 * * 1-5” for weekdays at 9am). Day-of-week is 0-7 where 0 and 7 both mean Sunday. Extended cron syntax - seconds or year fields, and the special characters L, W, #, and ? - is not supported, nor are predefined shortcuts (@daily).
15 |
# File 'lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb', line 15 required :expression, String |
#timezone ⇒ String
Required. IANA timezone identifier (e.g., “America/Los_Angeles”, “UTC”). Validated against the IANA timezone database.
22 |
# File 'lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb', line 22 required :timezone, String |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsScheduleParams::Type
27 |
# File 'lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb', line 27 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsScheduleParams::Type } |