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_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.
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_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”, “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”
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
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
license_type

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

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

Returns:The license_type of this CreateJavaLicenseAcceptanceRecordDetails.
Return type:str