Show / Hide Table of Contents

Class JavaDownloadToken

A JavaDownloadToken is a primary resource for the script friendly URLs. The value of this token serves as the authorization token for the download.

Inheritance
object
JavaDownloadToken
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.JmsjavadownloadsService.Models
Assembly: OCI.DotNetSDK.Jmsjavadownloads.dll
Syntax
public class JavaDownloadToken

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the tenancy scoped to the JavaDownloadToken.

Remarks

Required

CreatedBy

Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public Principal CreatedBy { get; set; }
Property Value
Type Description
Principal
Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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).

Description

Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

User provided description of the JavaDownloadToken.

Remarks

Required

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

User provided display name of the JavaDownloadToken.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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.)

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the JavaDownloadToken.

Remarks

Required

IsDefault

Declaration
[JsonProperty(PropertyName = "isDefault")]
public bool? IsDefault { get; set; }
Property Value
Type Description
bool?

A flag to indicate if the token is default.

JavaVersion

Declaration
[Required(ErrorMessage = "JavaVersion is required.")]
[JsonProperty(PropertyName = "javaVersion")]
public string JavaVersion { get; set; }
Property Value
Type Description
string

The associated Java version of the JavaDownloadToken.

Remarks

Required

LastUpdatedBy

Declaration
[JsonProperty(PropertyName = "lastUpdatedBy")]
public Principal LastUpdatedBy { get; set; }
Property Value
Type Description
Principal

LicenseType

Declaration
[JsonProperty(PropertyName = "licenseType")]
public List<LicenseType> LicenseType { get; set; }
Property Value
Type Description
List<LicenseType>

The license type(s) associated with the JavaDownloadToken.

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TokenLifecycleDetails? LifecycleDetails { get; set; }
Property Value
Type Description
TokenLifecycleDetails?

Possible lifecycle substates.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type Description
LifecycleState?

The current state of the JavaDownloadToken.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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"}}

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.

Remarks

Required

TimeExpires

Declaration
[Required(ErrorMessage = "TimeExpires is required.")]
[JsonProperty(PropertyName = "timeExpires")]
public DateTime? TimeExpires { get; set; }
Property Value
Type Description
DateTime?

The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.

Remarks

Required

TimeLastUsed

Declaration
[JsonProperty(PropertyName = "timeLastUsed")]
public DateTime? TimeLastUsed { get; set; }
Property Value
Type Description
DateTime?

The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.

Value

Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type Description
string

Uniquely generated value for the JavaDownloadToken.

Remarks

Required

In this article
Back to top