Class Term
Base model object for the term.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class Term
Properties
Author
Declaration
[Required(ErrorMessage = "Author is required.")]
[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'. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier for the compartment. |
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"}} |
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. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Term.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Term.LifecycleStateEnum? | The current state for the Term. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name for the term. |
Remarks
Required
PublisherId
Declaration
[Required(ErrorMessage = "PublisherId is required.")]
[JsonProperty(PropertyName = "publisherId")]
public string PublisherId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier for the publisher. |
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"}} |
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 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 was updated, in the format defined by RFC3339.
|
Remarks
Required