Agreement¶
- class oci.marketplace.models.Agreement(**kwargs)¶
Bases:
objectThe model for an end user license agreement.
Attributes:
A constant which can be used with the author property of a Agreement.
A constant which can be used with the author property of a Agreement.
Gets the author of this Agreement.
Gets the compartment_id of this Agreement.
[Required] Gets the content_url of this Agreement.
[Required] Gets the id of this Agreement.
Gets the prompt of this Agreement.
[Required] Gets the signature of this Agreement.
Methods:
__init__(**kwargs)Initializes a new Agreement object with values from keyword arguments.
- AUTHOR_ORACLE = 'ORACLE'¶
A constant which can be used with the author property of a Agreement. This constant has a value of “ORACLE”
- AUTHOR_PARTNER = 'PARTNER'¶
A constant which can be used with the author property of a Agreement. This constant has a value of “PARTNER”
- __init__(**kwargs)¶
Initializes a new Agreement 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 Agreement.
content_url (str) – The value to assign to the content_url property of this Agreement.
signature (str) – The value to assign to the signature property of this Agreement.
compartment_id (str) – The value to assign to the compartment_id property of this Agreement.
author (str) – The value to assign to the author property of this Agreement. Allowed values for this property are: “ORACLE”, “PARTNER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
prompt (str) – The value to assign to the prompt property of this Agreement.
- property author¶
Gets the author of this Agreement. Who authored the agreement.
Allowed values for this property are: “ORACLE”, “PARTNER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The author of this Agreement.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this Agreement. The unique identifier for the compartment.
- Returns
The compartment_id of this Agreement.
- Return type
str
- property content_url¶
[Required] Gets the content_url of this Agreement. The content URL of the agreement.
- Returns
The content_url of this Agreement.
- Return type
str
- property id¶
[Required] Gets the id of this Agreement. The unique identifier for the agreement.
- Returns
The id of this Agreement.
- Return type
str
- property prompt¶
Gets the prompt of this Agreement. Textual prompt to read and accept the agreement.
- Returns
The prompt of this Agreement.
- Return type
str
- property signature¶
[Required] Gets the signature of this Agreement. A time-based signature that can be used to accept an agreement or remove a previously accepted agreement from the list that Marketplace checks before a deployment.
- Returns
The signature of this Agreement.
- Return type
str