JavaLicense¶
- class oci.jms.models.JavaLicense(**kwargs)¶
Bases:
objectInformation about a license type for Java.
Attributes:
A constant which can be used with the license_type property of a JavaLicense.
A constant which can be used with the license_type property of a JavaLicense.
A constant which can be used with the license_type property of a JavaLicense.
[Required] Gets the display_name of this JavaLicense.
[Required] Gets the license_type of this JavaLicense.
[Required] Gets the license_url of this JavaLicense.
Methods:
__init__(**kwargs)Initializes a new JavaLicense object with values from keyword arguments.
- LICENSE_TYPE_NFTC = 'NFTC'¶
A constant which can be used with the license_type property of a JavaLicense. This constant has a value of “NFTC”
- LICENSE_TYPE_OTN = 'OTN'¶
A constant which can be used with the license_type property of a JavaLicense. This constant has a value of “OTN”
- LICENSE_TYPE_RESTRICTED = 'RESTRICTED'¶
A constant which can be used with the license_type property of a JavaLicense. This constant has a value of “RESTRICTED”
- __init__(**kwargs)¶
Initializes a new JavaLicense 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 JavaLicense.
license_type (str) – The value to assign to the license_type property of this JavaLicense. 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’.
license_url (str) – The value to assign to the license_url property of this JavaLicense.
- property display_name¶
[Required] Gets the display_name of this JavaLicense. Commonly used name for the license type.
- Returns
The display_name of this JavaLicense.
- Return type
str
- property license_type¶
[Required] Gets the license_type of this JavaLicense. License Type
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 JavaLicense.
- Return type
str
- property license_url¶
[Required] Gets the license_url of this JavaLicense. Publicly accessible license URL containing the detailed terms and conditions.
- Returns
The license_url of this JavaLicense.
- Return type
str