Class GenerateReportDetails
Details for the report generation.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class GenerateReportDetails
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 compartment into which the resource should be moved. |
Remarks
Required
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The description of the report to be generated |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the report to be generated |
Remarks
Required
IsPaginationEnabled
Declaration
[JsonProperty(PropertyName = "isPaginationEnabled")]
public bool? IsPaginationEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates if the reports being generated should be pagination enabled. If set to true, multiple reports can be generated and the details of next and previous report are present in Report. Values can either be 'true' or 'false'. |
MimeType
Declaration
[Required(ErrorMessage = "MimeType is required.")]
[JsonProperty(PropertyName = "mimeType")]
[JsonConverter(typeof(StringEnumConverter))]
public GenerateReportDetails.MimeTypeEnum? MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| GenerateReportDetails.MimeTypeEnum? | Specifies the format of report to be .xls or .pdf or .json |
Remarks
Required
RowLimit
Declaration
[JsonProperty(PropertyName = "rowLimit")]
public int? RowLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Specifies the limit on the number of rows in the report. |
TargetGroupIds
Declaration
[JsonProperty(PropertyName = "targetGroupIds")]
public List<string> TargetGroupIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | Array of target group OCIDs. |
TargetIds
Declaration
[JsonProperty(PropertyName = "targetIds")]
public List<string> TargetIds { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | Array of database target OCIDs. |
TimeGreaterThan
Declaration
[JsonProperty(PropertyName = "timeGreaterThan")]
public DateTime? TimeGreaterThan { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Specifies the time after which the data needs to be reported. |
TimeLessThan
Declaration
[JsonProperty(PropertyName = "timeLessThan")]
public DateTime? TimeLessThan { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Specifies the time until which the data needs to be reported. |