Skip to content

Commit

Permalink
[AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue…
Browse files Browse the repository at this point in the history
….Count to be double instead of the incorrect int64 it had before (#4164)

* Generated from 060221716b94c8dee61681168e1bd0e0b11d6057

Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before

* Generated from 5251be8f170f543e9763efd1618d814e1df19029

Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs

# Conflicts:
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json

Signed-off-by: Guillermo Calderón_Meza <gucalder@microsoft.com>
  • Loading branch information
AutorestCI committed Jul 8, 2019
1 parent 36332ec commit 0123e15
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class MetricValue {
* number of values that contributed to the average value.
*/
@JsonProperty(value = "count")
private Long count;
private Double count;

/**
* Get the timestamp for the metric value in ISO 8601 format.
Expand Down Expand Up @@ -157,7 +157,7 @@ public MetricValue withTotal(Double total) {
*
* @return the count value
*/
public Long count() {
public Double count() {
return this.count;
}

Expand All @@ -167,7 +167,7 @@ public Long count() {
* @param count the count value to set
* @return the MetricValue object itself.
*/
public MetricValue withCount(Long count) {
public MetricValue withCount(Double count) {
this.count = count;
return this;
}
Expand Down
Loading

0 comments on commit 0123e15

Please sign in to comment.