CreateAcceptedAgreementDetails

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

Bases: object

The model for the parameters needed to accept a terms of use agreement.

Methods

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

Attributes

agreement_id [Required] Gets the agreement_id of this CreateAcceptedAgreementDetails.
compartment_id [Required] Gets the compartment_id of this CreateAcceptedAgreementDetails.
defined_tags Gets the defined_tags of this CreateAcceptedAgreementDetails.
display_name Gets the display_name of this CreateAcceptedAgreementDetails.
freeform_tags Gets the freeform_tags of this CreateAcceptedAgreementDetails.
listing_id [Required] Gets the listing_id of this CreateAcceptedAgreementDetails.
package_version [Required] Gets the package_version of this CreateAcceptedAgreementDetails.
signature [Required] Gets the signature of this CreateAcceptedAgreementDetails.
__init__(**kwargs)

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

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

[Required] Gets the agreement_id of this CreateAcceptedAgreementDetails. The agreement to accept.

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

[Required] Gets the compartment_id of this CreateAcceptedAgreementDetails. The unique identifier for the compartment where the agreement will be accepted.

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

Gets the defined_tags of this CreateAcceptedAgreementDetails. 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 CreateAcceptedAgreementDetails.
Return type:dict(str, dict(str, object))
display_name

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

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

Gets the freeform_tags of this CreateAcceptedAgreementDetails. 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 CreateAcceptedAgreementDetails.
Return type:dict(str, str)
listing_id

[Required] Gets the listing_id of this CreateAcceptedAgreementDetails. The unique identifier for the listing associated with the agreement.

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

[Required] Gets the package_version of this CreateAcceptedAgreementDetails. The package version associated with the agreement.

Returns:The package_version of this CreateAcceptedAgreementDetails.
Return type:str
signature

[Required] Gets the signature of this CreateAcceptedAgreementDetails. A signature generated for the listing package agreements that you can retrieve with GetAgreement.

Returns:The signature of this CreateAcceptedAgreementDetails.
Return type:str