UpdateJavaDownloadTokenDetails

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

Bases: object

The attributes of the JavaDownloadToken to be updated.

Methods

__init__(**kwargs) Initializes a new UpdateJavaDownloadTokenDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdateJavaDownloadTokenDetails.
description Gets the description of this UpdateJavaDownloadTokenDetails.
display_name Gets the display_name of this UpdateJavaDownloadTokenDetails.
freeform_tags Gets the freeform_tags of this UpdateJavaDownloadTokenDetails.
is_default Gets the is_default of this UpdateJavaDownloadTokenDetails.
license_type Gets the license_type of this UpdateJavaDownloadTokenDetails.
time_expires Gets the time_expires of this UpdateJavaDownloadTokenDetails.
__init__(**kwargs)

Initializes a new UpdateJavaDownloadTokenDetails 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 UpdateJavaDownloadTokenDetails.
  • description (str) – The value to assign to the description property of this UpdateJavaDownloadTokenDetails.
  • is_default (bool) – The value to assign to the is_default property of this UpdateJavaDownloadTokenDetails.
  • time_expires (datetime) – The value to assign to the time_expires property of this UpdateJavaDownloadTokenDetails.
  • license_type (list[oci.jms_java_downloads.models.LicenseType]) – The value to assign to the license_type property of this UpdateJavaDownloadTokenDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateJavaDownloadTokenDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateJavaDownloadTokenDetails.
defined_tags

Gets the defined_tags of this UpdateJavaDownloadTokenDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. (See Understanding Free-form Tags).

Returns:The defined_tags of this UpdateJavaDownloadTokenDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateJavaDownloadTokenDetails. User provided description of the JavaDownloadToken.

Returns:The description of this UpdateJavaDownloadTokenDetails.
Return type:str
display_name

Gets the display_name of this UpdateJavaDownloadTokenDetails. User provided display name of the JavaDownloadToken.

Returns:The display_name of this UpdateJavaDownloadTokenDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateJavaDownloadTokenDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}. (See Managing Tags and Tag Namespaces.)

Returns:The freeform_tags of this UpdateJavaDownloadTokenDetails.
Return type:dict(str, str)
is_default

Gets the is_default of this UpdateJavaDownloadTokenDetails. Update the token default status.

Returns:The is_default of this UpdateJavaDownloadTokenDetails.
Return type:bool
license_type

Gets the license_type of this UpdateJavaDownloadTokenDetails. The license type(s) associated with the JavaDownloadToken.

Returns:The license_type of this UpdateJavaDownloadTokenDetails.
Return type:list[oci.jms_java_downloads.models.LicenseType]
time_expires

Gets the time_expires of this UpdateJavaDownloadTokenDetails. Expiry time of the token.

Returns:The time_expires of this UpdateJavaDownloadTokenDetails.
Return type:datetime