SupportedCommitmentSummary

class oci.ocvp.models.SupportedCommitmentSummary(**kwargs)

Bases: object

A specific Commitment.

Attributes

NAME_HOUR A constant which can be used with the name property of a SupportedCommitmentSummary.
NAME_MONTH A constant which can be used with the name property of a SupportedCommitmentSummary.
NAME_ONE_YEAR A constant which can be used with the name property of a SupportedCommitmentSummary.
NAME_THREE_YEARS A constant which can be used with the name property of a SupportedCommitmentSummary.
name [Required] Gets the name of this SupportedCommitmentSummary.

Methods

__init__(**kwargs) Initializes a new SupportedCommitmentSummary object with values from keyword arguments.
NAME_HOUR = 'HOUR'

A constant which can be used with the name property of a SupportedCommitmentSummary. This constant has a value of “HOUR”

NAME_MONTH = 'MONTH'

A constant which can be used with the name property of a SupportedCommitmentSummary. This constant has a value of “MONTH”

NAME_ONE_YEAR = 'ONE_YEAR'

A constant which can be used with the name property of a SupportedCommitmentSummary. This constant has a value of “ONE_YEAR”

NAME_THREE_YEARS = 'THREE_YEARS'

A constant which can be used with the name property of a SupportedCommitmentSummary. This constant has a value of “THREE_YEARS”

__init__(**kwargs)

Initializes a new SupportedCommitmentSummary 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 SupportedCommitmentSummary. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
name

[Required] Gets the name of this SupportedCommitmentSummary. name of Commitment

Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The name of this SupportedCommitmentSummary.
Return type:str