Package com.oracle.bmc.devops.model
Class SummarizeRepositoryAnalyticsDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.devops.model.SummarizeRepositoryAnalyticsDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class SummarizeRepositoryAnalyticsDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the user configured settings for viewing the metrics at repository level.
Note: Objects should always be created or deserialized using theSummarizeRepositoryAnalyticsDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSummarizeRepositoryAnalyticsDetails.Builder
, which maintain a set of all explicitly set fields calledSummarizeRepositoryAnalyticsDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SummarizeRepositoryAnalyticsDetails.AggregationDuration
Metrics aggregated for the defined period.static class
SummarizeRepositoryAnalyticsDetails.Builder
static class
SummarizeRepositoryAnalyticsDetails.GroupBy
Attribute by which metric data has to be grouped
-
Constructor Summary
Constructors Constructor Description SummarizeRepositoryAnalyticsDetails(String authorEmail, List<MetricName> repositoryMetrics, SummarizeRepositoryAnalyticsDetails.AggregationDuration aggregationDuration, Date startTime, Date endTime, SummarizeRepositoryAnalyticsDetails.GroupBy groupBy)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeRepositoryAnalyticsDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
SummarizeRepositoryAnalyticsDetails.AggregationDuration
getAggregationDuration()
Metrics aggregated for the defined period.String
getAuthorEmail()
Email address of the author.Date
getEndTime()
The end of the metric data query time range.SummarizeRepositoryAnalyticsDetails.GroupBy
getGroupBy()
Attribute by which metric data has to be groupedList<MetricName>
getRepositoryMetrics()
The name of the metric to be filtered.Date
getStartTime()
The beginning of the metric data query time range.int
hashCode()
SummarizeRepositoryAnalyticsDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SummarizeRepositoryAnalyticsDetails
@Deprecated @ConstructorProperties({"authorEmail","repositoryMetrics","aggregationDuration","startTime","endTime","groupBy"}) public SummarizeRepositoryAnalyticsDetails(String authorEmail, List<MetricName> repositoryMetrics, SummarizeRepositoryAnalyticsDetails.AggregationDuration aggregationDuration, Date startTime, Date endTime, SummarizeRepositoryAnalyticsDetails.GroupBy groupBy)
Deprecated.
-
-
Method Detail
-
builder
public static SummarizeRepositoryAnalyticsDetails.Builder builder()
Create a new builder.
-
toBuilder
public SummarizeRepositoryAnalyticsDetails.Builder toBuilder()
-
getAuthorEmail
public String getAuthorEmail()
Email address of the author.- Returns:
- the value
-
getRepositoryMetrics
public List<MetricName> getRepositoryMetrics()
The name of the metric to be filtered.- Returns:
- the value
-
getAggregationDuration
public SummarizeRepositoryAnalyticsDetails.AggregationDuration getAggregationDuration()
Metrics aggregated for the defined period.- Returns:
- the value
-
getStartTime
public Date getStartTime()
The beginning of the metric data query time range.- Returns:
- the value
-
getEndTime
public Date getEndTime()
The end of the metric data query time range.- Returns:
- the value
-
getGroupBy
public SummarizeRepositoryAnalyticsDetails.GroupBy getGroupBy()
Attribute by which metric data has to be grouped- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-