JavaDownloadTokenSummary¶
-
class
oci.jms_java_downloads.models.JavaDownloadTokenSummary(**kwargs)¶ Bases:
objectSummary of the JavaDownloadToken.
Attributes
LIFECYCLE_DETAILS_EXPIREDA constant which can be used with the lifecycle_details property of a JavaDownloadTokenSummary. LIFECYCLE_DETAILS_REVOKEDA constant which can be used with the lifecycle_details property of a JavaDownloadTokenSummary. LIFECYCLE_DETAILS_REVOKINGA constant which can be used with the lifecycle_details property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. compartment_id[Required] Gets the compartment_id of this JavaDownloadTokenSummary. created_by[Required] Gets the created_by of this JavaDownloadTokenSummary. defined_tagsGets the defined_tags of this JavaDownloadTokenSummary. description[Required] Gets the description of this JavaDownloadTokenSummary. display_name[Required] Gets the display_name of this JavaDownloadTokenSummary. freeform_tagsGets the freeform_tags of this JavaDownloadTokenSummary. id[Required] Gets the id of this JavaDownloadTokenSummary. is_defaultGets the is_default of this JavaDownloadTokenSummary. java_version[Required] Gets the java_version of this JavaDownloadTokenSummary. last_updated_byGets the last_updated_by of this JavaDownloadTokenSummary. license_typeGets the license_type of this JavaDownloadTokenSummary. lifecycle_detailsGets the lifecycle_details of this JavaDownloadTokenSummary. lifecycle_state[Required] Gets the lifecycle_state of this JavaDownloadTokenSummary. system_tagsGets the system_tags of this JavaDownloadTokenSummary. time_created[Required] Gets the time_created of this JavaDownloadTokenSummary. time_expires[Required] Gets the time_expires of this JavaDownloadTokenSummary. time_last_usedGets the time_last_used of this JavaDownloadTokenSummary. time_updatedGets the time_updated of this JavaDownloadTokenSummary. value[Required] Gets the value of this JavaDownloadTokenSummary. Methods
__init__(**kwargs)Initializes a new JavaDownloadTokenSummary object with values from keyword arguments. -
LIFECYCLE_DETAILS_EXPIRED= 'EXPIRED'¶ A constant which can be used with the lifecycle_details property of a JavaDownloadTokenSummary. This constant has a value of “EXPIRED”
-
LIFECYCLE_DETAILS_REVOKED= 'REVOKED'¶ A constant which can be used with the lifecycle_details property of a JavaDownloadTokenSummary. This constant has a value of “REVOKED”
-
LIFECYCLE_DETAILS_REVOKING= 'REVOKING'¶ A constant which can be used with the lifecycle_details property of a JavaDownloadTokenSummary. This constant has a value of “REVOKING”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a JavaDownloadTokenSummary. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new JavaDownloadTokenSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this JavaDownloadTokenSummary.
- display_name (str) – The value to assign to the display_name property of this JavaDownloadTokenSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this JavaDownloadTokenSummary.
- created_by (oci.jms_java_downloads.models.Principal) – The value to assign to the created_by property of this JavaDownloadTokenSummary.
- last_updated_by (oci.jms_java_downloads.models.Principal) – The value to assign to the last_updated_by property of this JavaDownloadTokenSummary.
- description (str) – The value to assign to the description property of this JavaDownloadTokenSummary.
- value (str) – The value to assign to the value property of this JavaDownloadTokenSummary.
- time_created (datetime) – The value to assign to the time_created property of this JavaDownloadTokenSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this JavaDownloadTokenSummary.
- time_last_used (datetime) – The value to assign to the time_last_used property of this JavaDownloadTokenSummary.
- time_expires (datetime) – The value to assign to the time_expires property of this JavaDownloadTokenSummary.
- java_version (str) – The value to assign to the java_version property of this JavaDownloadTokenSummary.
- license_type (list[oci.jms_java_downloads.models.LicenseType]) – The value to assign to the license_type property of this JavaDownloadTokenSummary.
- is_default (bool) – The value to assign to the is_default property of this JavaDownloadTokenSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this JavaDownloadTokenSummary. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this JavaDownloadTokenSummary. Allowed values for this property are: “EXPIRED”, “REVOKING”, “REVOKED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this JavaDownloadTokenSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this JavaDownloadTokenSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this JavaDownloadTokenSummary.
-
compartment_id¶ [Required] Gets the compartment_id of this JavaDownloadTokenSummary. The OCID of the tenancy scoped to the JavaDownloadToken.
Returns: The compartment_id of this JavaDownloadTokenSummary. Return type: str
-
created_by¶ [Required] Gets the created_by of this JavaDownloadTokenSummary.
Returns: The created_by of this JavaDownloadTokenSummary. Return type: oci.jms_java_downloads.models.Principal
Gets the defined_tags of this JavaDownloadTokenSummary. 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 JavaDownloadTokenSummary. Return type: dict(str, dict(str, object))
-
description¶ [Required] Gets the description of this JavaDownloadTokenSummary. User provided description of the JavaDownloadToken.
Returns: The description of this JavaDownloadTokenSummary. Return type: str
-
display_name¶ [Required] Gets the display_name of this JavaDownloadTokenSummary. User provided display name of the JavaDownloadToken.
Returns: The display_name of this JavaDownloadTokenSummary. Return type: str
Gets the freeform_tags of this JavaDownloadTokenSummary. 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 JavaDownloadTokenSummary. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this JavaDownloadTokenSummary. The OCID of the JavaDownloadToken.
Returns: The id of this JavaDownloadTokenSummary. Return type: str
-
is_default¶ Gets the is_default of this JavaDownloadTokenSummary. A flag to indicate if the token is default.
Returns: The is_default of this JavaDownloadTokenSummary. Return type: bool
-
java_version¶ [Required] Gets the java_version of this JavaDownloadTokenSummary. The associated Java version of the JavaDownloadToken.
Returns: The java_version of this JavaDownloadTokenSummary. Return type: str
-
last_updated_by¶ Gets the last_updated_by of this JavaDownloadTokenSummary.
Returns: The last_updated_by of this JavaDownloadTokenSummary. Return type: oci.jms_java_downloads.models.Principal
-
license_type¶ Gets the license_type of this JavaDownloadTokenSummary. The license type(s) associated with the JavaDownloadToken.
Returns: The license_type of this JavaDownloadTokenSummary. Return type: list[oci.jms_java_downloads.models.LicenseType]
-
lifecycle_details¶ Gets the lifecycle_details of this JavaDownloadTokenSummary. Possible lifecycle substates.
Allowed values for this property are: “EXPIRED”, “REVOKING”, “REVOKED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_details of this JavaDownloadTokenSummary. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this JavaDownloadTokenSummary. The current state of the JavaDownloadToken.
Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this JavaDownloadTokenSummary. Return type: str
Gets the system_tags of this JavaDownloadTokenSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this JavaDownloadTokenSummary. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this JavaDownloadTokenSummary. The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
Returns: The time_created of this JavaDownloadTokenSummary. Return type: datetime
-
time_expires¶ [Required] Gets the time_expires of this JavaDownloadTokenSummary. The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
Returns: The time_expires of this JavaDownloadTokenSummary. Return type: datetime
-
time_last_used¶ Gets the time_last_used of this JavaDownloadTokenSummary. The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
Returns: The time_last_used of this JavaDownloadTokenSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this JavaDownloadTokenSummary. The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
Returns: The time_updated of this JavaDownloadTokenSummary. Return type: datetime
-
value¶ [Required] Gets the value of this JavaDownloadTokenSummary. Uniquely generated value for the JavaDownloadToken.
Returns: The value of this JavaDownloadTokenSummary. Return type: str
-