RefreshScheduleIntervalDetails¶
- class oci.generative_ai.models.RefreshScheduleIntervalDetails(**kwargs)¶
Bases:
RefreshScheduleDetailsDefines the refresh schedule by specifying the interval between each refresh.
Attributes:
A constant which can be used with the type property of a RefreshScheduleDetails.
A constant which can be used with the type property of a RefreshScheduleDetails.
A constant which can be used with the type property of a RefreshScheduleDetails.
[Required] Gets the type of this RefreshScheduleDetails.
[Required] Gets the value of this RefreshScheduleIntervalDetails.
Methods:
__init__(**kwargs)Initializes a new RefreshScheduleIntervalDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- TYPE_INTERVAL = 'INTERVAL'¶
A constant which can be used with the type property of a RefreshScheduleDetails. This constant has a value of “INTERVAL”
- TYPE_NONE = 'NONE'¶
A constant which can be used with the type property of a RefreshScheduleDetails. This constant has a value of “NONE”
- TYPE_ON_CREATE = 'ON_CREATE'¶
A constant which can be used with the type property of a RefreshScheduleDetails. This constant has a value of “ON_CREATE”
- __init__(**kwargs)¶
Initializes a new RefreshScheduleIntervalDetails object with values from keyword arguments. The default value of the
typeattribute of this class isINTERVALand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this RefreshScheduleIntervalDetails. Allowed values for this property are: “INTERVAL”, “ON_CREATE”, “NONE”
value (str) – The value to assign to the value property of this RefreshScheduleIntervalDetails.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property type¶
[Required] Gets the type of this RefreshScheduleDetails. Specifies the type of refresh schedule.
Allowed values for this property are: “INTERVAL”, “ON_CREATE”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this RefreshScheduleDetails.
- Return type
str
- property value¶
[Required] Gets the value of this RefreshScheduleIntervalDetails. Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where ‘P’ is always required, ‘T’ precedes any time components less than one day, and each included component is properly suffixed. For example, “P1DT6H” represents a duration of 1 day and 6 hours.
- Returns
The value of this RefreshScheduleIntervalDetails.
- Return type
str