JavaLicenseSummary

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

Bases: object

Summary of a license type for Java.

Attributes

LICENSE_TYPE_NFTC A constant which can be used with the license_type property of a JavaLicenseSummary.
LICENSE_TYPE_OTN A constant which can be used with the license_type property of a JavaLicenseSummary.
LICENSE_TYPE_RESTRICTED A constant which can be used with the license_type property of a JavaLicenseSummary.
display_name [Required] Gets the display_name of this JavaLicenseSummary.
license_type [Required] Gets the license_type of this JavaLicenseSummary.
license_url [Required] Gets the license_url of this JavaLicenseSummary.

Methods

__init__(**kwargs) Initializes a new JavaLicenseSummary object with values from keyword arguments.
LICENSE_TYPE_NFTC = 'NFTC'

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

LICENSE_TYPE_OTN = 'OTN'

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

LICENSE_TYPE_RESTRICTED = 'RESTRICTED'

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

__init__(**kwargs)

Initializes a new JavaLicenseSummary 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 JavaLicenseSummary.
  • license_type (str) – The value to assign to the license_type property of this JavaLicenseSummary. 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 JavaLicenseSummary.
display_name

[Required] Gets the display_name of this JavaLicenseSummary. Commonly used name for the license type.

Returns:The display_name of this JavaLicenseSummary.
Return type:str
license_type

[Required] Gets the license_type of this JavaLicenseSummary. 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 JavaLicenseSummary.
Return type:str
license_url

[Required] Gets the license_url of this JavaLicenseSummary. Publicly accessible license URL containing the detailed terms and conditions.

Returns:The license_url of this JavaLicenseSummary.
Return type:str