CreateJavaLicenseAcceptanceRecordDetails

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

Bases: object

The attributes to create a new JavaLicenseAcceptanceRecord.

Attributes:

LICENSE_ACCEPTANCE_STATUS_ACCEPTED

A constant which can be used with the license_acceptance_status property of a CreateJavaLicenseAcceptanceRecordDetails.

LICENSE_ACCEPTANCE_STATUS_REVOKED

A constant which can be used with the license_acceptance_status property of a CreateJavaLicenseAcceptanceRecordDetails.

LICENSE_TYPE_BCL

A constant which can be used with the license_type property of a CreateJavaLicenseAcceptanceRecordDetails.

LICENSE_TYPE_NFTC

A constant which can be used with the license_type property of a CreateJavaLicenseAcceptanceRecordDetails.

LICENSE_TYPE_OTN

A constant which can be used with the license_type property of a CreateJavaLicenseAcceptanceRecordDetails.

LICENSE_TYPE_RESTRICTED

A constant which can be used with the license_type property of a CreateJavaLicenseAcceptanceRecordDetails.

compartment_id

[Required] Gets the compartment_id of this CreateJavaLicenseAcceptanceRecordDetails.

defined_tags

Gets the defined_tags of this CreateJavaLicenseAcceptanceRecordDetails.

freeform_tags

Gets the freeform_tags of this CreateJavaLicenseAcceptanceRecordDetails.

license_acceptance_status

[Required] Gets the license_acceptance_status of this CreateJavaLicenseAcceptanceRecordDetails.

license_type

[Required] Gets the license_type of this CreateJavaLicenseAcceptanceRecordDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateJavaLicenseAcceptanceRecordDetails 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 CreateJavaLicenseAcceptanceRecordDetails. 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 CreateJavaLicenseAcceptanceRecordDetails. This constant has a value of “REVOKED”

LICENSE_TYPE_BCL = 'BCL'

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

LICENSE_TYPE_NFTC = 'NFTC'

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

LICENSE_TYPE_OTN = 'OTN'

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

LICENSE_TYPE_RESTRICTED = 'RESTRICTED'

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

__init__(**kwargs)

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

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateJavaLicenseAcceptanceRecordDetails.

  • license_type (str) – The value to assign to the license_type property of this CreateJavaLicenseAcceptanceRecordDetails. Allowed values for this property are: “OTN”, “NFTC”, “BCL”, “RESTRICTED”

  • license_acceptance_status (str) – The value to assign to the license_acceptance_status property of this CreateJavaLicenseAcceptanceRecordDetails. Allowed values for this property are: “ACCEPTED”, “REVOKED”

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateJavaLicenseAcceptanceRecordDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateJavaLicenseAcceptanceRecordDetails.

property compartment_id

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

Returns

The compartment_id of this CreateJavaLicenseAcceptanceRecordDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateJavaLicenseAcceptanceRecordDetails. 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 CreateJavaLicenseAcceptanceRecordDetails.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this CreateJavaLicenseAcceptanceRecordDetails. 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 CreateJavaLicenseAcceptanceRecordDetails.

Return type

dict(str, str)

property license_acceptance_status

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

Allowed values for this property are: “ACCEPTED”, “REVOKED”

Returns

The license_acceptance_status of this CreateJavaLicenseAcceptanceRecordDetails.

Return type

str

property license_type

[Required] Gets the license_type of this CreateJavaLicenseAcceptanceRecordDetails. License type for the Java version.

Allowed values for this property are: “OTN”, “NFTC”, “BCL”, “RESTRICTED”

Returns

The license_type of this CreateJavaLicenseAcceptanceRecordDetails.

Return type

str