a ýÎòfàã@sDddlmZddlmZmZmZddlmZeGdd„deƒƒZdS)é)Ú DateRangeé)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@szeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd Zdd„Zedd„ƒZejdd„ƒZdd„Zdd„Zdd„ZdS)ÚDynamicDateRangezX The saved dynamic date range (required when the static date range is missing). Ú LAST_7_DAYSÚ LAST_10_DAYSÚLAST_CALENDAR_WEEKÚLAST_CALENDAR_MONTHÚLAST_2_CALENDAR_MONTHSÚLAST_3_CALENDAR_MONTHSÚLAST_6_CALENDAR_MONTHSÚ LAST_30_DAYSÚ MONTH_TO_DATEÚ LAST_YEARÚ YEAR_TODATEÚALLcKs.dddœ|_dddœ|_d|_d|_d|_dS)a Initializes a new DynamicDateRange object with values from keyword arguments. The default value of the :py:attr:`~oci.usage_api.models.DynamicDateRange.date_range_type` attribute of this class is ``DYNAMIC`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param date_range_type: The value to assign to the date_range_type property of this DynamicDateRange. Allowed values for this property are: "STATIC", "DYNAMIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type date_range_type: str :param dynamic_date_range_type: The value to assign to the dynamic_date_range_type property of this DynamicDateRange. Allowed values for this property are: "LAST_7_DAYS", "LAST_10_DAYS", "LAST_CALENDAR_WEEK", "LAST_CALENDAR_MONTH", "LAST_2_CALENDAR_MONTHS", "LAST_3_CALENDAR_MONTHS", "LAST_6_CALENDAR_MONTHS", "LAST_30_DAYS", "MONTH_TO_DATE", "LAST_YEAR", "YEAR_TODATE", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type dynamic_date_range_type: str Ústr)Zdate_range_typeÚdynamic_date_range_typeZ dateRangeTypeZdynamicDateRangeTypeNZDYNAMIC)Z swagger_typesZ attribute_mapZ_date_range_typeÚ_dynamic_date_range_type)ÚselfÚkwargs©rúK/usr/lib/python3.9/site-packages/oci/usage_api/models/dynamic_date_range.pyÚ__init__BsþþzDynamicDateRange.__init__cCs|jS)a8 **[Required]** Gets the dynamic_date_range_type of this DynamicDateRange. Allowed values for this property are: "LAST_7_DAYS", "LAST_10_DAYS", "LAST_CALENDAR_WEEK", "LAST_CALENDAR_MONTH", "LAST_2_CALENDAR_MONTHS", "LAST_3_CALENDAR_MONTHS", "LAST_6_CALENDAR_MONTHS", "LAST_30_DAYS", "MONTH_TO_DATE", "LAST_YEAR", "YEAR_TODATE", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The dynamic_date_range_type of this DynamicDateRange. :rtype: str )r©rrrrrcs z(DynamicDateRange.dynamic_date_range_typecCs gd¢}t||ƒsd}||_dS)z¾ Sets the dynamic_date_range_type of this DynamicDateRange. :param dynamic_date_range_type: The dynamic_date_range_type of this DynamicDateRange. :type: str ) r r r r r rrrrrrrZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrrps cCst|ƒS©N)rrrrrÚ__repr__}szDynamicDateRange.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__€szDynamicDateRange.__eq__cCs ||k Srrr!rrrÚ__ne__†szDynamicDateRange.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__Z#DYNAMIC_DATE_RANGE_TYPE_LAST_7_DAYSZ$DYNAMIC_DATE_RANGE_TYPE_LAST_10_DAYSZ*DYNAMIC_DATE_RANGE_TYPE_LAST_CALENDAR_WEEKZ+DYNAMIC_DATE_RANGE_TYPE_LAST_CALENDAR_MONTHZ.DYNAMIC_DATE_RANGE_TYPE_LAST_2_CALENDAR_MONTHSZ.DYNAMIC_DATE_RANGE_TYPE_LAST_3_CALENDAR_MONTHSZ.DYNAMIC_DATE_RANGE_TYPE_LAST_6_CALENDAR_MONTHSZ$DYNAMIC_DATE_RANGE_TYPE_LAST_30_DAYSZ%DYNAMIC_DATE_RANGE_TYPE_MONTH_TO_DATEZ!DYNAMIC_DATE_RANGE_TYPE_LAST_YEARZ#DYNAMIC_DATE_RANGE_TYPE_YEAR_TODATEZDYNAMIC_DATE_RANGE_TYPE_ALLrÚpropertyrÚsetterrr#r$rrrrr s*!  rN) Z date_rangerZoci.utilrrrZoci.decoratorsrrrrrrÚs