forked from oracle/oci-dotnet-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSummarizeSqlStatisticsTimeSeriesByPlanRequest.cs
102 lines (90 loc) · 4.72 KB
/
SummarizeSqlStatisticsTimeSeriesByPlanRequest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Oci.OpsiService.Models;
namespace Oci.OpsiService.Requests
{
/// <example>
/// Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.cs.html">here</a> to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlan request.
/// </example>
public class SummarizeSqlStatisticsTimeSeriesByPlanRequest : Oci.Common.IOciRequest
{
/// <value>
/// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "CompartmentId is required.")]
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
/// <value>
/// Required [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
///
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "DatabaseId is required.")]
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "databaseId")]
public string DatabaseId { get; set; }
/// <value>
/// Unique SQL_ID for a SQL Statement.
/// Example: 6rgjh9bjmy2s7
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "SqlIdentifier is required.")]
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sqlIdentifier")]
public string SqlIdentifier { get; set; }
/// <value>
/// Specify time period in ISO 8601 format with respect to current time.
/// Default is last 30 days represented by P30D.
/// If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
/// Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
///
/// </value>
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "analysisTimeInterval")]
public string AnalysisTimeInterval { get; set; }
/// <value>
/// Analysis start time in UTC in ISO 8601 format(inclusive).
/// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
/// The minimum allowed value is 2 years prior to the current day.
/// timeIntervalStart and timeIntervalEnd parameters are used together.
/// If analysisTimeInterval is specified, this parameter is ignored.
///
/// </value>
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeIntervalStart")]
public System.Nullable<System.DateTime> TimeIntervalStart { get; set; }
/// <value>
/// Analysis end time in UTC in ISO 8601 format(exclusive).
/// Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
/// timeIntervalStart and timeIntervalEnd are used together.
/// If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
///
/// </value>
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeIntervalEnd")]
public System.Nullable<System.DateTime> TimeIntervalEnd { get; set; }
/// <value>
/// For list pagination. The value of the `opc-next-page` response header from
/// the previous \"List\" call. For important details about how pagination works,
/// see [List Pagination](https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
///
/// </value>
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")]
public string Page { get; set; }
/// <value>
/// Unique Oracle-assigned identifier for the request. If you need to contact
/// Oracle about a particular request, please provide the request ID.
///
/// </value>
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
}
}