Class OpsiDataObject
OPSI data object.
Inheritance
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
[JsonConverter(typeof(OpsiDataObjectModelConverter))]
public class OpsiDataObject
Properties
ColumnsMetadata
Declaration
[Required(ErrorMessage = "ColumnsMetadata is required.")]
[JsonProperty(PropertyName = "columnsMetadata")]
public List<DataObjectColumnMetadata> ColumnsMetadata { get; set; }
Property Value
Type | Description |
---|---|
List<DataObjectColumnMetadata> | Metadata of columns in a data object. |
Remarks
Required
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of OPSI data object. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | User-friendly name of OPSI data object. |
Remarks
Required
GroupNames
Declaration
[JsonProperty(PropertyName = "groupNames")]
public List<string> GroupNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Names of all the groups to which the data object belongs to. |
Identifier
Declaration
[Required(ErrorMessage = "Identifier is required.")]
[JsonProperty(PropertyName = "identifier")]
public string Identifier { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier of OPSI data object. |
Remarks
Required
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the data object, which can be used in data object queries just like how view names are used in a query. |
SupportedQueryParams
Declaration
[JsonProperty(PropertyName = "supportedQueryParams")]
public List<OpsiDataObjectSupportedQueryParam> SupportedQueryParams { get; set; }
Property Value
Type | Description |
---|---|
List<OpsiDataObjectSupportedQueryParam> | Supported query parameters by this OPSI data object that can be configured while a data object query involving this data object is executed. |
SupportedQueryTimePeriod
Declaration
[JsonProperty(PropertyName = "supportedQueryTimePeriod")]
public string SupportedQueryTimePeriod { get; set; }
Property Value
Type | Description |
---|---|
string | Time period supported by the data object for quering data. Time period is in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D. Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months). |