JavaLicense¶
-
class
oci.jms.models.JavaLicense(**kwargs)¶ Bases:
objectInformation about a license type for Java.
Attributes
LICENSE_TYPE_NFTCA constant which can be used with the license_type property of a JavaLicense. LICENSE_TYPE_OTNA constant which can be used with the license_type property of a JavaLicense. LICENSE_TYPE_RESTRICTEDA constant which can be used with the license_type property of a JavaLicense. display_name[Required] Gets the display_name of this JavaLicense. license_type[Required] Gets the license_type of this JavaLicense. license_url[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.
-
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
-
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
-
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
-