a O•º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)Údate_range_typeÚdynamic_date_range_typeÚ dateRangeTypeÚdynamicDateRangeTypeNÚDYNAMIC)Ú swagger_typesÚ attribute_mapÚ_date_range_typeÚ_dynamic_date_range_type)ÚselfÚkwargs©r!ú‹/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/usage_api/models/dynamic_date_range.pyÚ__init__@sþþ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©rr!r!r"ras 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 rrrrrrrÚUNKNOWN_ENUM_VALUEN)rr)rrÚallowed_valuesr!r!r"rns cCst|ƒS©N)rr$r!r!r"Ú__repr__{szDynamicDateRange.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherr!r!r"Ú__eq__~szDynamicDateRange.__eq__cCs ||k Sr'r!r*r!r!r"Ú__ne__„szDynamicDateRange.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú#DYNAMIC_DATE_RANGE_TYPE_LAST_7_DAYSÚ$DYNAMIC_DATE_RANGE_TYPE_LAST_10_DAYSÚ*DYNAMIC_DATE_RANGE_TYPE_LAST_CALENDAR_WEEKÚ+DYNAMIC_DATE_RANGE_TYPE_LAST_CALENDAR_MONTHÚ.DYNAMIC_DATE_RANGE_TYPE_LAST_2_CALENDAR_MONTHSÚ.DYNAMIC_DATE_RANGE_TYPE_LAST_3_CALENDAR_MONTHSÚ.DYNAMIC_DATE_RANGE_TYPE_LAST_6_CALENDAR_MONTHSÚ$DYNAMIC_DATE_RANGE_TYPE_LAST_30_DAYSÚ%DYNAMIC_DATE_RANGE_TYPE_MONTH_TO_DATEÚ!DYNAMIC_DATE_RANGE_TYPE_LAST_YEARÚ#DYNAMIC_DATE_RANGE_TYPE_YEAR_TODATEÚDYNAMIC_DATE_RANGE_TYPE_ALLr#ÚpropertyrÚsetterr(r,r-r!r!r!r"r s*!  rN) Ú date_rangerÚoci.utilrrrÚoci.decoratorsrrr!r!r!r"Ús