Class TermVersion
Model object for the term version details.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class TermVersion
Properties
Attachment
Declaration
[Required(ErrorMessage = "Attachment is required.")]
[JsonProperty(PropertyName = "attachment")]
public TermVersionAttachment Attachment { get; set; }
Property Value
Type | Description |
---|---|
TermVersionAttachment |
Remarks
Required
Author
Declaration
[JsonProperty(PropertyName = "author")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Term.AuthorEnum? Author { get; set; }
Property Value
Type | Description |
---|---|
Term.AuthorEnum? | Who authored the term. Publisher terms will be defaulted to 'PARTNER'. |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier for the compartment. |
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"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The name for the term version. |
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"} |
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique OCID identifier for the term version. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TermVersion.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
TermVersion.LifecycleStateEnum? | The current state for the term version. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TermVersion.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
TermVersion.StatusEnum? | The current status for the term version. |
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. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TermAuthor
Declaration
[Required(ErrorMessage = "TermAuthor is required.")]
[JsonProperty(PropertyName = "termAuthor")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Term.AuthorEnum? TermAuthor { get; set; }
Property Value
Type | Description |
---|---|
Term.AuthorEnum? | Who authored the term. Publisher terms will be defaulted to 'PARTNER'. |
Remarks
Required
TermId
Declaration
[Required(ErrorMessage = "TermId is required.")]
[JsonProperty(PropertyName = "termId")]
public string TermId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier for the term. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the term version was created, in the format defined by RFC3339.
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the term version was updated, in the format defined by RFC3339.
|
Remarks
Required