diff --git a/.apigentools-info b/.apigentools-info index 1576e295365..1cf8c9a02f1 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-02-17 20:23:09.577533", - "spec_repo_commit": "643c315f" + "regenerated": "2023-02-17 21:33:27.637216", + "spec_repo_commit": "f388a249" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-02-17 20:23:09.594176", - "spec_repo_commit": "643c315f" + "regenerated": "2023-02-17 21:33:27.656680", + "spec_repo_commit": "f388a249" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 6c4b24a49a6..d88875538f3 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16425,6 +16425,12 @@ components: format: int64 nullable: true type: integer + session_count_flutter: + description: Contains the number of mobile RUM Sessions on Flutter (data + available beginning March 1, 2023). + format: int64 + nullable: true + type: integer session_count_ios: description: Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020). @@ -16891,6 +16897,11 @@ components: hours in the current date for all organizations. format: int64 type: integer + mobile_rum_session_count_flutter_sum: + description: Shows the sum of all mobile RUM Sessions on Flutter over all + hours in the current date for all organizations. + format: int64 + type: integer mobile_rum_session_count_ios_sum: description: Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations. @@ -17271,6 +17282,11 @@ components: hours in the current date for the given org. format: int64 type: integer + mobile_rum_session_count_flutter_sum: + description: Shows the sum of all mobile RUM Sessions on Flutter over all + hours in the current date for the given org. + format: int64 + type: integer mobile_rum_session_count_ios_sum: description: Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for the given org. @@ -17688,6 +17704,11 @@ components: hours in the current months for all organizations. format: int64 type: integer + mobile_rum_session_count_flutter_agg_sum: + description: Shows the sum of all mobile RUM Sessions on Flutter over all + hours in the current months for all organizations. + format: int64 + type: integer mobile_rum_session_count_ios_agg_sum: description: Shows the sum of all mobile RUM Sessions on iOS over all hours in the current months for all organizations. diff --git a/api/datadogV1/model_usage_rum_sessions_hour.go b/api/datadogV1/model_usage_rum_sessions_hour.go index e934c2d05e6..e82b83baa0c 100644 --- a/api/datadogV1/model_usage_rum_sessions_hour.go +++ b/api/datadogV1/model_usage_rum_sessions_hour.go @@ -25,6 +25,8 @@ type UsageRumSessionsHour struct { SessionCount datadog.NullableInt64 `json:"session_count,omitempty"` // Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020). SessionCountAndroid datadog.NullableInt64 `json:"session_count_android,omitempty"` + // Contains the number of mobile RUM Sessions on Flutter (data available beginning March 1, 2023). + SessionCountFlutter datadog.NullableInt64 `json:"session_count_flutter,omitempty"` // Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020). SessionCountIos datadog.NullableInt64 `json:"session_count_ios,omitempty"` // Contains the number of mobile RUM Sessions on React Native (data available beginning May 1, 2022). @@ -241,6 +243,45 @@ func (o *UsageRumSessionsHour) UnsetSessionCountAndroid() { o.SessionCountAndroid.Unset() } +// GetSessionCountFlutter returns the SessionCountFlutter field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UsageRumSessionsHour) GetSessionCountFlutter() int64 { + if o == nil || o.SessionCountFlutter.Get() == nil { + var ret int64 + return ret + } + return *o.SessionCountFlutter.Get() +} + +// GetSessionCountFlutterOk returns a tuple with the SessionCountFlutter field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned. +func (o *UsageRumSessionsHour) GetSessionCountFlutterOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.SessionCountFlutter.Get(), o.SessionCountFlutter.IsSet() +} + +// HasSessionCountFlutter returns a boolean if a field has been set. +func (o *UsageRumSessionsHour) HasSessionCountFlutter() bool { + return o != nil && o.SessionCountFlutter.IsSet() +} + +// SetSessionCountFlutter gets a reference to the given datadog.NullableInt64 and assigns it to the SessionCountFlutter field. +func (o *UsageRumSessionsHour) SetSessionCountFlutter(v int64) { + o.SessionCountFlutter.Set(&v) +} + +// SetSessionCountFlutterNil sets the value for SessionCountFlutter to be an explicit nil. +func (o *UsageRumSessionsHour) SetSessionCountFlutterNil() { + o.SessionCountFlutter.Set(nil) +} + +// UnsetSessionCountFlutter ensures that no value is present for SessionCountFlutter, not even an explicit nil. +func (o *UsageRumSessionsHour) UnsetSessionCountFlutter() { + o.SessionCountFlutter.Unset() +} + // GetSessionCountIos returns the SessionCountIos field value if set, zero value otherwise (both if not set or set to explicit null). func (o *UsageRumSessionsHour) GetSessionCountIos() int64 { if o == nil || o.SessionCountIos.Get() == nil { @@ -347,6 +388,9 @@ func (o UsageRumSessionsHour) MarshalJSON() ([]byte, error) { if o.SessionCountAndroid.IsSet() { toSerialize["session_count_android"] = o.SessionCountAndroid.Get() } + if o.SessionCountFlutter.IsSet() { + toSerialize["session_count_flutter"] = o.SessionCountFlutter.Get() + } if o.SessionCountIos.IsSet() { toSerialize["session_count_ios"] = o.SessionCountIos.Get() } @@ -370,6 +414,7 @@ func (o *UsageRumSessionsHour) UnmarshalJSON(bytes []byte) (err error) { ReplaySessionCount *int64 `json:"replay_session_count,omitempty"` SessionCount datadog.NullableInt64 `json:"session_count,omitempty"` SessionCountAndroid datadog.NullableInt64 `json:"session_count_android,omitempty"` + SessionCountFlutter datadog.NullableInt64 `json:"session_count_flutter,omitempty"` SessionCountIos datadog.NullableInt64 `json:"session_count_ios,omitempty"` SessionCountReactnative datadog.NullableInt64 `json:"session_count_reactnative,omitempty"` }{} @@ -388,6 +433,7 @@ func (o *UsageRumSessionsHour) UnmarshalJSON(bytes []byte) (err error) { o.ReplaySessionCount = all.ReplaySessionCount o.SessionCount = all.SessionCount o.SessionCountAndroid = all.SessionCountAndroid + o.SessionCountFlutter = all.SessionCountFlutter o.SessionCountIos = all.SessionCountIos o.SessionCountReactnative = all.SessionCountReactnative return nil diff --git a/api/datadogV1/model_usage_summary_date.go b/api/datadogV1/model_usage_summary_date.go index e1a4522b9fc..bd919a5a5f7 100644 --- a/api/datadogV1/model_usage_summary_date.go +++ b/api/datadogV1/model_usage_summary_date.go @@ -107,6 +107,8 @@ type UsageSummaryDate struct { MobileRumLiteSessionCountSum *int64 `json:"mobile_rum_lite_session_count_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations. MobileRumSessionCountAndroidSum *int64 `json:"mobile_rum_session_count_android_sum,omitempty"` + // Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current date for all organizations. + MobileRumSessionCountFlutterSum *int64 `json:"mobile_rum_session_count_flutter_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations. MobileRumSessionCountIosSum *int64 `json:"mobile_rum_session_count_ios_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on React Native over all hours in the current date for all organizations. @@ -1527,6 +1529,34 @@ func (o *UsageSummaryDate) SetMobileRumSessionCountAndroidSum(v int64) { o.MobileRumSessionCountAndroidSum = &v } +// GetMobileRumSessionCountFlutterSum returns the MobileRumSessionCountFlutterSum field value if set, zero value otherwise. +func (o *UsageSummaryDate) GetMobileRumSessionCountFlutterSum() int64 { + if o == nil || o.MobileRumSessionCountFlutterSum == nil { + var ret int64 + return ret + } + return *o.MobileRumSessionCountFlutterSum +} + +// GetMobileRumSessionCountFlutterSumOk returns a tuple with the MobileRumSessionCountFlutterSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryDate) GetMobileRumSessionCountFlutterSumOk() (*int64, bool) { + if o == nil || o.MobileRumSessionCountFlutterSum == nil { + return nil, false + } + return o.MobileRumSessionCountFlutterSum, true +} + +// HasMobileRumSessionCountFlutterSum returns a boolean if a field has been set. +func (o *UsageSummaryDate) HasMobileRumSessionCountFlutterSum() bool { + return o != nil && o.MobileRumSessionCountFlutterSum != nil +} + +// SetMobileRumSessionCountFlutterSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountFlutterSum field. +func (o *UsageSummaryDate) SetMobileRumSessionCountFlutterSum(v int64) { + o.MobileRumSessionCountFlutterSum = &v +} + // GetMobileRumSessionCountIosSum returns the MobileRumSessionCountIosSum field value if set, zero value otherwise. func (o *UsageSummaryDate) GetMobileRumSessionCountIosSum() int64 { if o == nil || o.MobileRumSessionCountIosSum == nil { @@ -2437,6 +2467,9 @@ func (o UsageSummaryDate) MarshalJSON() ([]byte, error) { if o.MobileRumSessionCountAndroidSum != nil { toSerialize["mobile_rum_session_count_android_sum"] = o.MobileRumSessionCountAndroidSum } + if o.MobileRumSessionCountFlutterSum != nil { + toSerialize["mobile_rum_session_count_flutter_sum"] = o.MobileRumSessionCountFlutterSum + } if o.MobileRumSessionCountIosSum != nil { toSerialize["mobile_rum_session_count_ios_sum"] = o.MobileRumSessionCountIosSum } @@ -2577,6 +2610,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { IotDeviceTop99p *int64 `json:"iot_device_top99p,omitempty"` MobileRumLiteSessionCountSum *int64 `json:"mobile_rum_lite_session_count_sum,omitempty"` MobileRumSessionCountAndroidSum *int64 `json:"mobile_rum_session_count_android_sum,omitempty"` + MobileRumSessionCountFlutterSum *int64 `json:"mobile_rum_session_count_flutter_sum,omitempty"` MobileRumSessionCountIosSum *int64 `json:"mobile_rum_session_count_ios_sum,omitempty"` MobileRumSessionCountReactnativeSum *int64 `json:"mobile_rum_session_count_reactnative_sum,omitempty"` MobileRumSessionCountSum *int64 `json:"mobile_rum_session_count_sum,omitempty"` @@ -2662,6 +2696,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { o.IotDeviceTop99p = all.IotDeviceTop99p o.MobileRumLiteSessionCountSum = all.MobileRumLiteSessionCountSum o.MobileRumSessionCountAndroidSum = all.MobileRumSessionCountAndroidSum + o.MobileRumSessionCountFlutterSum = all.MobileRumSessionCountFlutterSum o.MobileRumSessionCountIosSum = all.MobileRumSessionCountIosSum o.MobileRumSessionCountReactnativeSum = all.MobileRumSessionCountReactnativeSum o.MobileRumSessionCountSum = all.MobileRumSessionCountSum diff --git a/api/datadogV1/model_usage_summary_date_org.go b/api/datadogV1/model_usage_summary_date_org.go index 0f583ce0088..fa3fb8c9b64 100644 --- a/api/datadogV1/model_usage_summary_date_org.go +++ b/api/datadogV1/model_usage_summary_date_org.go @@ -106,6 +106,8 @@ type UsageSummaryDateOrg struct { MobileRumLiteSessionCountSum *int64 `json:"mobile_rum_lite_session_count_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for the given org. MobileRumSessionCountAndroidSum *int64 `json:"mobile_rum_session_count_android_sum,omitempty"` + // Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current date for the given org. + MobileRumSessionCountFlutterSum *int64 `json:"mobile_rum_session_count_flutter_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for the given org. MobileRumSessionCountIosSum *int64 `json:"mobile_rum_session_count_ios_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on React Native over all hours in the current date for the given org. @@ -1530,6 +1532,34 @@ func (o *UsageSummaryDateOrg) SetMobileRumSessionCountAndroidSum(v int64) { o.MobileRumSessionCountAndroidSum = &v } +// GetMobileRumSessionCountFlutterSum returns the MobileRumSessionCountFlutterSum field value if set, zero value otherwise. +func (o *UsageSummaryDateOrg) GetMobileRumSessionCountFlutterSum() int64 { + if o == nil || o.MobileRumSessionCountFlutterSum == nil { + var ret int64 + return ret + } + return *o.MobileRumSessionCountFlutterSum +} + +// GetMobileRumSessionCountFlutterSumOk returns a tuple with the MobileRumSessionCountFlutterSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryDateOrg) GetMobileRumSessionCountFlutterSumOk() (*int64, bool) { + if o == nil || o.MobileRumSessionCountFlutterSum == nil { + return nil, false + } + return o.MobileRumSessionCountFlutterSum, true +} + +// HasMobileRumSessionCountFlutterSum returns a boolean if a field has been set. +func (o *UsageSummaryDateOrg) HasMobileRumSessionCountFlutterSum() bool { + return o != nil && o.MobileRumSessionCountFlutterSum != nil +} + +// SetMobileRumSessionCountFlutterSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountFlutterSum field. +func (o *UsageSummaryDateOrg) SetMobileRumSessionCountFlutterSum(v int64) { + o.MobileRumSessionCountFlutterSum = &v +} + // GetMobileRumSessionCountIosSum returns the MobileRumSessionCountIosSum field value if set, zero value otherwise. func (o *UsageSummaryDateOrg) GetMobileRumSessionCountIosSum() int64 { if o == nil || o.MobileRumSessionCountIosSum == nil { @@ -2492,6 +2522,9 @@ func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error) { if o.MobileRumSessionCountAndroidSum != nil { toSerialize["mobile_rum_session_count_android_sum"] = o.MobileRumSessionCountAndroidSum } + if o.MobileRumSessionCountFlutterSum != nil { + toSerialize["mobile_rum_session_count_flutter_sum"] = o.MobileRumSessionCountFlutterSum + } if o.MobileRumSessionCountIosSum != nil { toSerialize["mobile_rum_session_count_ios_sum"] = o.MobileRumSessionCountIosSum } @@ -2638,6 +2671,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { IotDeviceTop99pSum *int64 `json:"iot_device_top99p_sum,omitempty"` MobileRumLiteSessionCountSum *int64 `json:"mobile_rum_lite_session_count_sum,omitempty"` MobileRumSessionCountAndroidSum *int64 `json:"mobile_rum_session_count_android_sum,omitempty"` + MobileRumSessionCountFlutterSum *int64 `json:"mobile_rum_session_count_flutter_sum,omitempty"` MobileRumSessionCountIosSum *int64 `json:"mobile_rum_session_count_ios_sum,omitempty"` MobileRumSessionCountReactnativeSum *int64 `json:"mobile_rum_session_count_reactnative_sum,omitempty"` MobileRumSessionCountSum *int64 `json:"mobile_rum_session_count_sum,omitempty"` @@ -2725,6 +2759,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { o.IotDeviceTop99pSum = all.IotDeviceTop99pSum o.MobileRumLiteSessionCountSum = all.MobileRumLiteSessionCountSum o.MobileRumSessionCountAndroidSum = all.MobileRumSessionCountAndroidSum + o.MobileRumSessionCountFlutterSum = all.MobileRumSessionCountFlutterSum o.MobileRumSessionCountIosSum = all.MobileRumSessionCountIosSum o.MobileRumSessionCountReactnativeSum = all.MobileRumSessionCountReactnativeSum o.MobileRumSessionCountSum = all.MobileRumSessionCountSum diff --git a/api/datadogV1/model_usage_summary_response.go b/api/datadogV1/model_usage_summary_response.go index a85571cc6f9..0e3fc7db062 100644 --- a/api/datadogV1/model_usage_summary_response.go +++ b/api/datadogV1/model_usage_summary_response.go @@ -119,6 +119,8 @@ type UsageSummaryResponse struct { MobileRumSessionCountAggSum *int64 `json:"mobile_rum_session_count_agg_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on Android over all hours in the current months for all organizations. MobileRumSessionCountAndroidAggSum *int64 `json:"mobile_rum_session_count_android_agg_sum,omitempty"` + // Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current months for all organizations. + MobileRumSessionCountFlutterAggSum *int64 `json:"mobile_rum_session_count_flutter_agg_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on iOS over all hours in the current months for all organizations. MobileRumSessionCountIosAggSum *int64 `json:"mobile_rum_session_count_ios_agg_sum,omitempty"` // Shows the sum of all mobile RUM Sessions on React Native over all hours in the current months for all organizations. @@ -1713,6 +1715,34 @@ func (o *UsageSummaryResponse) SetMobileRumSessionCountAndroidAggSum(v int64) { o.MobileRumSessionCountAndroidAggSum = &v } +// GetMobileRumSessionCountFlutterAggSum returns the MobileRumSessionCountFlutterAggSum field value if set, zero value otherwise. +func (o *UsageSummaryResponse) GetMobileRumSessionCountFlutterAggSum() int64 { + if o == nil || o.MobileRumSessionCountFlutterAggSum == nil { + var ret int64 + return ret + } + return *o.MobileRumSessionCountFlutterAggSum +} + +// GetMobileRumSessionCountFlutterAggSumOk returns a tuple with the MobileRumSessionCountFlutterAggSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryResponse) GetMobileRumSessionCountFlutterAggSumOk() (*int64, bool) { + if o == nil || o.MobileRumSessionCountFlutterAggSum == nil { + return nil, false + } + return o.MobileRumSessionCountFlutterAggSum, true +} + +// HasMobileRumSessionCountFlutterAggSum returns a boolean if a field has been set. +func (o *UsageSummaryResponse) HasMobileRumSessionCountFlutterAggSum() bool { + return o != nil && o.MobileRumSessionCountFlutterAggSum != nil +} + +// SetMobileRumSessionCountFlutterAggSum gets a reference to the given int64 and assigns it to the MobileRumSessionCountFlutterAggSum field. +func (o *UsageSummaryResponse) SetMobileRumSessionCountFlutterAggSum(v int64) { + o.MobileRumSessionCountFlutterAggSum = &v +} + // GetMobileRumSessionCountIosAggSum returns the MobileRumSessionCountIosAggSum field value if set, zero value otherwise. func (o *UsageSummaryResponse) GetMobileRumSessionCountIosAggSum() int64 { if o == nil || o.MobileRumSessionCountIosAggSum == nil { @@ -2729,6 +2759,9 @@ func (o UsageSummaryResponse) MarshalJSON() ([]byte, error) { if o.MobileRumSessionCountAndroidAggSum != nil { toSerialize["mobile_rum_session_count_android_agg_sum"] = o.MobileRumSessionCountAndroidAggSum } + if o.MobileRumSessionCountFlutterAggSum != nil { + toSerialize["mobile_rum_session_count_flutter_agg_sum"] = o.MobileRumSessionCountFlutterAggSum + } if o.MobileRumSessionCountIosAggSum != nil { toSerialize["mobile_rum_session_count_ios_agg_sum"] = o.MobileRumSessionCountIosAggSum } @@ -2888,6 +2921,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { MobileRumLiteSessionCountAggSum *int64 `json:"mobile_rum_lite_session_count_agg_sum,omitempty"` MobileRumSessionCountAggSum *int64 `json:"mobile_rum_session_count_agg_sum,omitempty"` MobileRumSessionCountAndroidAggSum *int64 `json:"mobile_rum_session_count_android_agg_sum,omitempty"` + MobileRumSessionCountFlutterAggSum *int64 `json:"mobile_rum_session_count_flutter_agg_sum,omitempty"` MobileRumSessionCountIosAggSum *int64 `json:"mobile_rum_session_count_ios_agg_sum,omitempty"` MobileRumSessionCountReactnativeAggSum *int64 `json:"mobile_rum_session_count_reactnative_agg_sum,omitempty"` MobileRumUnitsAggSum *int64 `json:"mobile_rum_units_agg_sum,omitempty"` @@ -2989,6 +3023,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { o.MobileRumLiteSessionCountAggSum = all.MobileRumLiteSessionCountAggSum o.MobileRumSessionCountAggSum = all.MobileRumSessionCountAggSum o.MobileRumSessionCountAndroidAggSum = all.MobileRumSessionCountAndroidAggSum + o.MobileRumSessionCountFlutterAggSum = all.MobileRumSessionCountFlutterAggSum o.MobileRumSessionCountIosAggSum = all.MobileRumSessionCountIosAggSum o.MobileRumSessionCountReactnativeAggSum = all.MobileRumSessionCountReactnativeAggSum o.MobileRumUnitsAggSum = all.MobileRumUnitsAggSum