Skip to content

Commit e7178c3

Browse files
api-clients-generation-pipeline[bot]Rolf Batesci.datadog-api-spec
authored
Add mobile RUM OS types usage fields (#589)
* add tests for mobile rum usage os type * Regenerate client from commit 4e7ddc2 of spec repo Co-authored-by: Rolf Bates <rolf.bates@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 890667f commit e7178c3

File tree

12 files changed

+425
-11
lines changed

12 files changed

+425
-11
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev2",
7-
"regenerated": "2020-12-24 12:00:57.626173",
8-
"spec_repo_commit": "cc3e6a1"
7+
"regenerated": "2020-12-28 16:56:42.720322",
8+
"spec_repo_commit": "4e7ddc2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2020-12-24 12:01:08.184679",
13-
"spec_repo_commit": "cc3e6a1"
12+
"regenerated": "2020-12-28 16:56:51.497835",
13+
"spec_repo_commit": "4e7ddc2"
1414
}
1515
}
1616
}

api_docs/v1/UsageRumSessionsHour.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**hour** | **OffsetDateTime** | The hour for the usage. | [optional]
1111
**sessionCount** | **Long** | Contains the number of RUM Sessions. | [optional]
12+
**sessionCountAndroid** | **Long** | Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020). | [optional]
13+
**sessionCountIos** | **Long** | Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020). | [optional]
1214

1315

1416

api_docs/v1/UsageSummaryDate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ Name | Type | Description | Notes
2525
**indexedEventsCountSum** | **Long** | Shows the sum of all log events indexed over all hours in the current date for all organizations. | [optional]
2626
**infraHostTop99p** | **Long** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for all organizations. | [optional]
2727
**ingestedEventsBytesSum** | **Long** | Shows the sum of all log bytes ingested over all hours in the current date for all organizations. | [optional]
28+
**mobileRumSessionCountAndroidSum** | **Long** | Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations. | [optional]
29+
**mobileRumSessionCountIosSum** | **Long** | Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations. | [optional]
2830
**mobileRumSessionCountSum** | **Long** | Shows the sum of all mobile RUM Sessions over all hours in the current date for all organizations | [optional]
2931
**netflowIndexedEventsCountSum** | **Long** | Shows the sum of all Network flows indexed over all hours in the current date for all organizations. | [optional]
3032
**npmHostTop99p** | **Long** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations. | [optional]
3133
**orgs** | [**List&lt;UsageSummaryDateOrg&gt;**](UsageSummaryDateOrg.md) | Organizations associated with a user. | [optional]
3234
**profilingHostTop99p** | **Long** | Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. | [optional]
3335
**rumSessionCountSum** | **Long** | Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations | [optional]
36+
**rumTotalSessionCountSum** | **Long** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for all organizations. | [optional]
3437
**syntheticsBrowserCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic browser tests over all hours in the current date for all organizations. | [optional]
3538
**syntheticsCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic API tests over all hours in the current date for all organizations. | [optional]
3639
**traceSearchIndexedEventsCountSum** | **Long** | Shows the sum of all Indexed Spans indexed over all hours in the current date for all organizations. | [optional]

api_docs/v1/UsageSummaryDateOrg.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@ Name | Type | Description | Notes
2424
**indexedEventsCountSum** | **Long** | Shows the sum of all log events indexed over all hours in the current date for the given org. | [optional]
2525
**infraHostTop99p** | **Long** | Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current date for the given org. | [optional]
2626
**ingestedEventsBytesSum** | **Long** | Shows the sum of all log bytes ingested over all hours in the current date for the given org. | [optional]
27+
**mobileRumSessionCountAndroidSum** | **Long** | Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for the given org. | [optional]
28+
**mobileRumSessionCountIosSum** | **Long** | Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for the given org. | [optional]
2729
**mobileRumSessionCountSum** | **Long** | Shows the sum of all mobile RUM Sessions over all hours in the current date for the given org. | [optional]
2830
**name** | **String** | The organization name. | [optional]
2931
**netflowIndexedEventsCountSum** | **Long** | Shows the sum of all Network flows indexed over all hours in the current date for the given org. | [optional]
3032
**npmHostTop99p** | **Long** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org. | [optional]
3133
**profilingHostTop99p** | **Long** | Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. | [optional]
3234
**publicId** | **String** | The organization public id. | [optional]
3335
**rumSessionCountSum** | **Long** | Shows the sum of all browser RUM Sessions over all hours in the current date for the given org. | [optional]
36+
**rumTotalSessionCountSum** | **Long** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for the given org. | [optional]
3437
**syntheticsBrowserCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic browser tests over all hours in the current date for the given org. | [optional]
3538
**syntheticsCheckCallsCountSum** | **Long** | Shows the sum of all Synthetic API tests over all hours in the current date for the given org. | [optional]
3639
**traceSearchIndexedEventsCountSum** | **Long** | Shows the sum of all Indexed Spans indexed over all hours in the current date for the given org. | [optional]

api_docs/v1/UsageSummaryResponse.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ Name | Type | Description | Notes
2828
**ingestedEventsBytesAggSum** | **Long** | Shows the sum of all log bytes ingested over all hours in the current months for all organizations. | [optional]
2929
**lastUpdated** | **OffsetDateTime** | Shows the the most recent hour in the current months for all organizations for which all usages were calculated. | [optional]
3030
**mobileRumSessionCountAggSum** | **Long** | Shows the sum of all mobile RUM Sessions over all hours in the current months for all organizations. | [optional]
31+
**mobileRumSessionCountAndroidAggSum** | **Long** | Shows the sum of all mobile RUM Sessions on Android over all hours in the current months for all organizations. | [optional]
32+
**mobileRumSessionCountIosAggSum** | **Long** | Shows the sum of all mobile RUM Sessions on iOS over all hours in the current months for all organizations. | [optional]
3133
**netflowIndexedEventsCountAggSum** | **Long** | Shows the sum of all Network flows indexed over all hours in the current months for all organizations. | [optional]
3234
**npmHostTop99pSum** | **Long** | Shows the 99th percentile of all distinct Networks hosts over all hours in the current months for all organizations. | [optional]
3335
**profilingContainerAgentCountAvg** | **Long** | Shows the average number of profiled containers over all hours in the current months for all organizations. | [optional]
3436
**profilingHostCountTop99pSum** | **Long** | Shows the 99th percentile of all profiled hosts over all hours in the current months for all organizations. | [optional]
3537
**rumSessionCountAggSum** | **Long** | Shows the sum of all browser RUM Sessions over all hours in the current months for all organizations. | [optional]
38+
**rumTotalSessionCountAggSum** | **Long** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current months for all organizations. | [optional]
3639
**startDate** | **OffsetDateTime** | Shows the first date of usage in the current months for all organizations. | [optional]
3740
**syntheticsBrowserCheckCallsCountAggSum** | **Long** | Shows the sum of all Synthetic browser tests over all hours in the current months for all organizations. | [optional]
3841
**syntheticsCheckCallsCountAggSum** | **Long** | Shows the sum of all Synthetic API tests over all hours in the current months for all organizations. | [optional]

src/main/java/com/datadog/api/v1/client/model/UsageRumSessionsHour.java

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
@ApiModel(description = "Number of RUM Sessions recorded for each hour for a given organization.")
3434
@JsonPropertyOrder({
3535
UsageRumSessionsHour.JSON_PROPERTY_HOUR,
36-
UsageRumSessionsHour.JSON_PROPERTY_SESSION_COUNT
36+
UsageRumSessionsHour.JSON_PROPERTY_SESSION_COUNT,
37+
UsageRumSessionsHour.JSON_PROPERTY_SESSION_COUNT_ANDROID,
38+
UsageRumSessionsHour.JSON_PROPERTY_SESSION_COUNT_IOS
3739
})
3840
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
3941
public class UsageRumSessionsHour {
@@ -43,6 +45,12 @@ public class UsageRumSessionsHour {
4345
public static final String JSON_PROPERTY_SESSION_COUNT = "session_count";
4446
private Long sessionCount;
4547

48+
public static final String JSON_PROPERTY_SESSION_COUNT_ANDROID = "session_count_android";
49+
private Long sessionCountAndroid;
50+
51+
public static final String JSON_PROPERTY_SESSION_COUNT_IOS = "session_count_ios";
52+
private Long sessionCountIos;
53+
4654

4755
public UsageRumSessionsHour hour(OffsetDateTime hour) {
4856
this.hour = hour;
@@ -92,6 +100,54 @@ public void setSessionCount(Long sessionCount) {
92100
}
93101

94102

103+
public UsageRumSessionsHour sessionCountAndroid(Long sessionCountAndroid) {
104+
this.sessionCountAndroid = sessionCountAndroid;
105+
return this;
106+
}
107+
108+
/**
109+
* Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020).
110+
* @return sessionCountAndroid
111+
**/
112+
@javax.annotation.Nullable
113+
@ApiModelProperty(value = "Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020).")
114+
@JsonProperty(JSON_PROPERTY_SESSION_COUNT_ANDROID)
115+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
116+
117+
public Long getSessionCountAndroid() {
118+
return sessionCountAndroid;
119+
}
120+
121+
122+
public void setSessionCountAndroid(Long sessionCountAndroid) {
123+
this.sessionCountAndroid = sessionCountAndroid;
124+
}
125+
126+
127+
public UsageRumSessionsHour sessionCountIos(Long sessionCountIos) {
128+
this.sessionCountIos = sessionCountIos;
129+
return this;
130+
}
131+
132+
/**
133+
* Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020).
134+
* @return sessionCountIos
135+
**/
136+
@javax.annotation.Nullable
137+
@ApiModelProperty(value = "Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020).")
138+
@JsonProperty(JSON_PROPERTY_SESSION_COUNT_IOS)
139+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
140+
141+
public Long getSessionCountIos() {
142+
return sessionCountIos;
143+
}
144+
145+
146+
public void setSessionCountIos(Long sessionCountIos) {
147+
this.sessionCountIos = sessionCountIos;
148+
}
149+
150+
95151
/**
96152
* Return true if this UsageRumSessionsHour object is equal to o.
97153
*/
@@ -105,12 +161,14 @@ public boolean equals(Object o) {
105161
}
106162
UsageRumSessionsHour usageRumSessionsHour = (UsageRumSessionsHour) o;
107163
return Objects.equals(this.hour, usageRumSessionsHour.hour) &&
108-
Objects.equals(this.sessionCount, usageRumSessionsHour.sessionCount);
164+
Objects.equals(this.sessionCount, usageRumSessionsHour.sessionCount) &&
165+
Objects.equals(this.sessionCountAndroid, usageRumSessionsHour.sessionCountAndroid) &&
166+
Objects.equals(this.sessionCountIos, usageRumSessionsHour.sessionCountIos);
109167
}
110168

111169
@Override
112170
public int hashCode() {
113-
return Objects.hash(hour, sessionCount);
171+
return Objects.hash(hour, sessionCount, sessionCountAndroid, sessionCountIos);
114172
}
115173

116174

@@ -120,6 +178,8 @@ public String toString() {
120178
sb.append("class UsageRumSessionsHour {\n");
121179
sb.append(" hour: ").append(toIndentedString(hour)).append("\n");
122180
sb.append(" sessionCount: ").append(toIndentedString(sessionCount)).append("\n");
181+
sb.append(" sessionCountAndroid: ").append(toIndentedString(sessionCountAndroid)).append("\n");
182+
sb.append(" sessionCountIos: ").append(toIndentedString(sessionCountIos)).append("\n");
123183
sb.append("}");
124184
return sb.toString();
125185
}

0 commit comments

Comments
 (0)