DayOfWeek¶
-
class
oci.database.models.DayOfWeek(**kwargs)¶ Bases:
objectDay of the week.
Attributes
NAME_FRIDAYA constant which can be used with the name property of a DayOfWeek. NAME_MONDAYA constant which can be used with the name property of a DayOfWeek. NAME_SATURDAYA constant which can be used with the name property of a DayOfWeek. NAME_SUNDAYA constant which can be used with the name property of a DayOfWeek. NAME_THURSDAYA constant which can be used with the name property of a DayOfWeek. NAME_TUESDAYA constant which can be used with the name property of a DayOfWeek. NAME_WEDNESDAYA constant which can be used with the name property of a DayOfWeek. name[Required] Gets the name of this DayOfWeek. Methods
__init__(**kwargs)Initializes a new DayOfWeek object with values from keyword arguments. -
NAME_FRIDAY= 'FRIDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “FRIDAY”
-
NAME_MONDAY= 'MONDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “MONDAY”
-
NAME_SATURDAY= 'SATURDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “SATURDAY”
-
NAME_SUNDAY= 'SUNDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “SUNDAY”
-
NAME_THURSDAY= 'THURSDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “THURSDAY”
-
NAME_TUESDAY= 'TUESDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “TUESDAY”
-
NAME_WEDNESDAY= 'WEDNESDAY'¶ A constant which can be used with the name property of a DayOfWeek. This constant has a value of “WEDNESDAY”
-
__init__(**kwargs)¶ Initializes a new DayOfWeek object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: name (str) – The value to assign to the name property of this DayOfWeek. Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
name¶ [Required] Gets the name of this DayOfWeek. Name of the day of the week.
Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The name of this DayOfWeek. Return type: str
-