UpdateRecommendationDetails¶
-
class
oci.optimizer.models.UpdateRecommendationDetails(**kwargs)¶ Bases:
objectThe request object for updating the recommendation details.
Attributes
STATUS_DISMISSEDA constant which can be used with the status property of a UpdateRecommendationDetails. STATUS_IMPLEMENTEDA constant which can be used with the status property of a UpdateRecommendationDetails. STATUS_PENDINGA constant which can be used with the status property of a UpdateRecommendationDetails. STATUS_POSTPONEDA constant which can be used with the status property of a UpdateRecommendationDetails. status[Required] Gets the status of this UpdateRecommendationDetails. time_status_endGets the time_status_end of this UpdateRecommendationDetails. Methods
__init__(**kwargs)Initializes a new UpdateRecommendationDetails object with values from keyword arguments. -
STATUS_DISMISSED= 'DISMISSED'¶ A constant which can be used with the status property of a UpdateRecommendationDetails. This constant has a value of “DISMISSED”
-
STATUS_IMPLEMENTED= 'IMPLEMENTED'¶ A constant which can be used with the status property of a UpdateRecommendationDetails. This constant has a value of “IMPLEMENTED”
-
STATUS_PENDING= 'PENDING'¶ A constant which can be used with the status property of a UpdateRecommendationDetails. This constant has a value of “PENDING”
-
STATUS_POSTPONED= 'POSTPONED'¶ A constant which can be used with the status property of a UpdateRecommendationDetails. This constant has a value of “POSTPONED”
-
__init__(**kwargs)¶ Initializes a new UpdateRecommendationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - status (str) – The value to assign to the status property of this UpdateRecommendationDetails. Allowed values for this property are: “PENDING”, “DISMISSED”, “POSTPONED”, “IMPLEMENTED”
- time_status_end (datetime) – The value to assign to the time_status_end property of this UpdateRecommendationDetails.
-
status¶ [Required] Gets the status of this UpdateRecommendationDetails. The status of the recommendation.
Allowed values for this property are: “PENDING”, “DISMISSED”, “POSTPONED”, “IMPLEMENTED”
Returns: The status of this UpdateRecommendationDetails. Return type: str
-
time_status_end¶ Gets the time_status_end of this UpdateRecommendationDetails. The date and time the current status will change. The format is defined by RFC3339.
For example, “The current postponed status of the recommendation will end and change to pending on this date and time.”
Returns: The time_status_end of this UpdateRecommendationDetails. Return type: datetime
-