Class BetaManagedAgentsScheduleTriggerContext
-
- All Implemented Interfaces:
public final class BetaManagedAgentsScheduleTriggerContextThe run was fired by the deployment's cron schedule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsScheduleTriggerContext.BuilderA builder for BetaManagedAgentsScheduleTriggerContext.
-
Method Summary
Modifier and Type Method Description final OffsetDateTimescheduledAt()The UTC instant at which the cron expression matched in the configured timezone, before jitter is applied. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("schedule")final JsonField<OffsetDateTime>_scheduledAt()Returns the raw JSON value of scheduledAt. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsScheduleTriggerContext.BuildertoBuilder()final BetaManagedAgentsScheduleTriggerContextvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsScheduleTriggerContext.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsScheduleTriggerContext. final static BetaManagedAgentsScheduleTriggerContextof(OffsetDateTime scheduledAt)Returns an immutable instance of BetaManagedAgentsScheduleTriggerContext with the required scheduledAt set to the given value. -
-
Method Detail
-
scheduledAt
final OffsetDateTime scheduledAt()
The UTC instant at which the cron expression matched in the configured timezone, before jitter is applied. At most one run is recorded per (
deployment_id,scheduled_at) pair.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("schedule")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_scheduledAt
final JsonField<OffsetDateTime> _scheduledAt()
Returns the raw JSON value of scheduledAt.
Unlike scheduledAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsScheduleTriggerContext.Builder toBuilder()
-
validate
final BetaManagedAgentsScheduleTriggerContext validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsScheduleTriggerContext.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsScheduleTriggerContext.
The following fields are required:
.scheduledAt()
-
of
final static BetaManagedAgentsScheduleTriggerContext of(OffsetDateTime scheduledAt)
Returns an immutable instance of BetaManagedAgentsScheduleTriggerContext with the required scheduledAt set to the given value.
-
-
-
-