AcceptedAgreement

class oci.marketplace.models.AcceptedAgreement(**kwargs)

Bases: object

The model for an accepted terms of use agreement.

Methods

__init__(**kwargs) Initializes a new AcceptedAgreement object with values from keyword arguments.

Attributes

agreement_id Gets the agreement_id of this AcceptedAgreement.
compartment_id Gets the compartment_id of this AcceptedAgreement.
defined_tags Gets the defined_tags of this AcceptedAgreement.
display_name Gets the display_name of this AcceptedAgreement.
freeform_tags Gets the freeform_tags of this AcceptedAgreement.
id Gets the id of this AcceptedAgreement.
listing_id Gets the listing_id of this AcceptedAgreement.
package_version Gets the package_version of this AcceptedAgreement.
time_accepted Gets the time_accepted of this AcceptedAgreement.
__init__(**kwargs)

Initializes a new AcceptedAgreement object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this AcceptedAgreement.
  • display_name (str) – The value to assign to the display_name property of this AcceptedAgreement.
  • compartment_id (str) – The value to assign to the compartment_id property of this AcceptedAgreement.
  • listing_id (str) – The value to assign to the listing_id property of this AcceptedAgreement.
  • package_version (str) – The value to assign to the package_version property of this AcceptedAgreement.
  • agreement_id (str) – The value to assign to the agreement_id property of this AcceptedAgreement.
  • time_accepted (datetime) – The value to assign to the time_accepted property of this AcceptedAgreement.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AcceptedAgreement.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AcceptedAgreement.
agreement_id

Gets the agreement_id of this AcceptedAgreement. The unique identifier for the terms of use agreement itself.

Returns:The agreement_id of this AcceptedAgreement.
Return type:str
compartment_id

Gets the compartment_id of this AcceptedAgreement. The unique identifier for the compartment where the agreement was accepted.

Returns:The compartment_id of this AcceptedAgreement.
Return type:str
defined_tags

Gets the defined_tags of this AcceptedAgreement. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this AcceptedAgreement.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this AcceptedAgreement. A display name for the accepted agreement.

Returns:The display_name of this AcceptedAgreement.
Return type:str
freeform_tags

Gets the freeform_tags of this AcceptedAgreement. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this AcceptedAgreement.
Return type:dict(str, str)
id

Gets the id of this AcceptedAgreement. The unique identifier for the acceptance of the agreement within a specific compartment.

Returns:The id of this AcceptedAgreement.
Return type:str
listing_id

Gets the listing_id of this AcceptedAgreement. The unique identifier for the listing associated with the agreement.

Returns:The listing_id of this AcceptedAgreement.
Return type:str
package_version

Gets the package_version of this AcceptedAgreement. The package version associated with the agreement.

Returns:The package_version of this AcceptedAgreement.
Return type:str
time_accepted

Gets the time_accepted of this AcceptedAgreement. The time the agreement was accepted.

Returns:The time_accepted of this AcceptedAgreement.
Return type:datetime