Show / Hide Table of Contents

Class CreateJavaDownloadTokenDetails

The attributes to create a new JavaDownloadToken.

Inheritance
object
CreateJavaDownloadTokenDetails
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 CreateJavaDownloadTokenDetails

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

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

IsDefault

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

The token default attribute.

JavaVersion

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

The Java version associated with the token.

Remarks

Required

LicenseType

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

The license type(s) associated with the JavaDownloadToken.

Remarks

Required

TimeExpires

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

Expiry time of the token.

Remarks

Required

In this article
Back to top