RefreshScheduleIntervalDetails¶
-
class
oci.generative_ai.models.RefreshScheduleIntervalDetails(**kwargs)¶ Bases:
oci.generative_ai.models.refresh_schedule_details.RefreshScheduleDetailsDefines the refresh schedule by specifying the interval between each refresh.
Attributes
TYPE_INTERVALstr(object=’’) -> str TYPE_NONEstr(object=’’) -> str TYPE_ON_CREATEstr(object=’’) -> str type[Required] Gets the type of this RefreshScheduleDetails. value[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'¶
-
TYPE_NONE= 'NONE'¶
-
TYPE_ON_CREATE= '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.
-
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
-
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
-