Class: Anthropic::Models::Beta::BetaManagedAgentsCronScheduleParams

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

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::BetaManagedAgentsCronScheduleParams for more details.

5-field POSIX cron schedule. Literal wall-clock matching in the configured timezone.

Parameters:



# File 'lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb', line 29

Instance Attribute Details

#expressionString

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).

Returns:

  • (String)


15
# File 'lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb', line 15

required :expression, String

#timezoneString

Required. IANA timezone identifier (e.g., “America/Los_Angeles”, “UTC”). Validated against the IANA timezone database.

Returns:

  • (String)


22
# File 'lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb', line 22

required :timezone, String

#typeSymbol, Anthropic::Models::Beta::BetaManagedAgentsCronScheduleParams::Type



27
# File 'lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb', line 27

required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsCronScheduleParams::Type }