JavaLicenseAcceptanceRecord

class oci.jms_java_downloads.models.JavaLicenseAcceptanceRecord(**kwargs)

Bases: object

User acceptance record for a Java license.

Attributes

LICENSE_ACCEPTANCE_STATUS_ACCEPTED A constant which can be used with the license_acceptance_status property of a JavaLicenseAcceptanceRecord.
LICENSE_ACCEPTANCE_STATUS_REVOKED A constant which can be used with the license_acceptance_status property of a JavaLicenseAcceptanceRecord.
LICENSE_TYPE_NFTC A constant which can be used with the license_type property of a JavaLicenseAcceptanceRecord.
LICENSE_TYPE_OTN A constant which can be used with the license_type property of a JavaLicenseAcceptanceRecord.
LICENSE_TYPE_RESTRICTED A constant which can be used with the license_type property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord.
compartment_id [Required] Gets the compartment_id of this JavaLicenseAcceptanceRecord.
created_by [Required] Gets the created_by of this JavaLicenseAcceptanceRecord.
defined_tags Gets the defined_tags of this JavaLicenseAcceptanceRecord.
freeform_tags Gets the freeform_tags of this JavaLicenseAcceptanceRecord.
id [Required] Gets the id of this JavaLicenseAcceptanceRecord.
last_updated_by Gets the last_updated_by of this JavaLicenseAcceptanceRecord.
license_acceptance_status [Required] Gets the license_acceptance_status of this JavaLicenseAcceptanceRecord.
license_type [Required] Gets the license_type of this JavaLicenseAcceptanceRecord.
lifecycle_state Gets the lifecycle_state of this JavaLicenseAcceptanceRecord.
system_tags Gets the system_tags of this JavaLicenseAcceptanceRecord.
time_accepted [Required] Gets the time_accepted of this JavaLicenseAcceptanceRecord.
time_last_updated Gets the time_last_updated of this JavaLicenseAcceptanceRecord.

Methods

__init__(**kwargs) Initializes a new JavaLicenseAcceptanceRecord object with values from keyword arguments.
LICENSE_ACCEPTANCE_STATUS_ACCEPTED = 'ACCEPTED'

A constant which can be used with the license_acceptance_status property of a JavaLicenseAcceptanceRecord. This constant has a value of “ACCEPTED”

LICENSE_ACCEPTANCE_STATUS_REVOKED = 'REVOKED'

A constant which can be used with the license_acceptance_status property of a JavaLicenseAcceptanceRecord. This constant has a value of “REVOKED”

LICENSE_TYPE_NFTC = 'NFTC'

A constant which can be used with the license_type property of a JavaLicenseAcceptanceRecord. This constant has a value of “NFTC”

LICENSE_TYPE_OTN = 'OTN'

A constant which can be used with the license_type property of a JavaLicenseAcceptanceRecord. This constant has a value of “OTN”

LICENSE_TYPE_RESTRICTED = 'RESTRICTED'

A constant which can be used with the license_type property of a JavaLicenseAcceptanceRecord. This constant has a value of “RESTRICTED”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “FAILED”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a JavaLicenseAcceptanceRecord. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new JavaLicenseAcceptanceRecord 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 JavaLicenseAcceptanceRecord.
  • license_acceptance_status (str) – The value to assign to the license_acceptance_status property of this JavaLicenseAcceptanceRecord. Allowed values for this property are: “ACCEPTED”, “REVOKED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compartment_id (str) – The value to assign to the compartment_id property of this JavaLicenseAcceptanceRecord.
  • license_type (str) – The value to assign to the license_type property of this JavaLicenseAcceptanceRecord. Allowed values for this property are: “OTN”, “NFTC”, “RESTRICTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • created_by (oci.jms_java_downloads.models.Principal) – The value to assign to the created_by property of this JavaLicenseAcceptanceRecord.
  • last_updated_by (oci.jms_java_downloads.models.Principal) – The value to assign to the last_updated_by property of this JavaLicenseAcceptanceRecord.
  • time_accepted (datetime) – The value to assign to the time_accepted property of this JavaLicenseAcceptanceRecord.
  • time_last_updated (datetime) – The value to assign to the time_last_updated property of this JavaLicenseAcceptanceRecord.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this JavaLicenseAcceptanceRecord. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this JavaLicenseAcceptanceRecord.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this JavaLicenseAcceptanceRecord.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this JavaLicenseAcceptanceRecord.
compartment_id

[Required] Gets the compartment_id of this JavaLicenseAcceptanceRecord. The tenancy OCID of the user accepting the license.

Returns:The compartment_id of this JavaLicenseAcceptanceRecord.
Return type:str
created_by

[Required] Gets the created_by of this JavaLicenseAcceptanceRecord.

Returns:The created_by of this JavaLicenseAcceptanceRecord.
Return type:oci.jms_java_downloads.models.Principal
defined_tags

Gets the defined_tags of this JavaLicenseAcceptanceRecord. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. (See Understanding Free-form Tags).

Returns:The defined_tags of this JavaLicenseAcceptanceRecord.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this JavaLicenseAcceptanceRecord. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}. (See Managing Tags and Tag Namespaces.)

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

[Required] Gets the id of this JavaLicenseAcceptanceRecord. The unique identifier for the acceptance record.

Returns:The id of this JavaLicenseAcceptanceRecord.
Return type:str
last_updated_by

Gets the last_updated_by of this JavaLicenseAcceptanceRecord.

Returns:The last_updated_by of this JavaLicenseAcceptanceRecord.
Return type:oci.jms_java_downloads.models.Principal
license_acceptance_status

[Required] Gets the license_acceptance_status of this JavaLicenseAcceptanceRecord. Status of license acceptance.

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

Returns:The license_acceptance_status of this JavaLicenseAcceptanceRecord.
Return type:str
license_type

[Required] Gets the license_type of this JavaLicenseAcceptanceRecord. License type associated with the acceptance.

Allowed values for this property are: “OTN”, “NFTC”, “RESTRICTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The license_type of this JavaLicenseAcceptanceRecord.
Return type:str
lifecycle_state

Gets the lifecycle_state of this JavaLicenseAcceptanceRecord. The current state of the JavaLicenseAcceptanceRecord.

Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this JavaLicenseAcceptanceRecord.
Return type:str
system_tags

Gets the system_tags of this JavaLicenseAcceptanceRecord. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this JavaLicenseAcceptanceRecord.
Return type:dict(str, dict(str, object))
time_accepted

[Required] Gets the time_accepted of this JavaLicenseAcceptanceRecord. The date and time of license acceptance (formatted according to RFC3339).

Returns:The time_accepted of this JavaLicenseAcceptanceRecord.
Return type:datetime
time_last_updated

Gets the time_last_updated of this JavaLicenseAcceptanceRecord. The date and time of last update (formatted according to RFC3339).

Returns:The time_last_updated of this JavaLicenseAcceptanceRecord.
Return type:datetime