DownloadUrl¶
- class oci.jms_java_downloads.models.DownloadUrl(**kwargs)¶
Bases:
objectDownload Url object for the Java artifact.
Attributes:
A constant which can be used with the download_url_type property of a DownloadUrl.
A constant which can be used with the download_url_type property of a DownloadUrl.
[Required] Gets the download_url of this DownloadUrl.
[Required] Gets the download_url_type of this DownloadUrl.
Methods:
__init__(**kwargs)Initializes a new DownloadUrl object with values from keyword arguments.
- DOWNLOAD_URL_TYPE_CDN = 'CDN'¶
A constant which can be used with the download_url_type property of a DownloadUrl. This constant has a value of “CDN”
- DOWNLOAD_URL_TYPE_OSS = 'OSS'¶
A constant which can be used with the download_url_type property of a DownloadUrl. This constant has a value of “OSS”
- __init__(**kwargs)¶
Initializes a new DownloadUrl object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
download_url (str) – The value to assign to the download_url property of this DownloadUrl.
download_url_type (str) – The value to assign to the download_url_type property of this DownloadUrl. Allowed values for this property are: “OSS”, “CDN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property download_url¶
[Required] Gets the download_url of this DownloadUrl. The URL for downloading the artifact.
- Returns
The download_url of this DownloadUrl.
- Return type
str
- property download_url_type¶
[Required] Gets the download_url_type of this DownloadUrl. The type of download URL.
Allowed values for this property are: “OSS”, “CDN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The download_url_type of this DownloadUrl.
- Return type
str