Skip to content

Commit a316533

Browse files
committed
generate slo client
1 parent a203de6 commit a316533

6 files changed

+65
-36
lines changed

generated/slo/api/openapi.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,6 @@ components:
15191519
type: string
15201520
required:
15211521
- aggregation
1522-
- field
15231522
- name
15241523
type: object
15251524
indicator_properties_custom_metric_params_good:
@@ -1562,7 +1561,6 @@ components:
15621561
type: string
15631562
required:
15641563
- aggregation
1565-
- field
15661564
- name
15671565
type: object
15681566
indicator_properties_custom_metric_params_total:

generated/slo/docs/IndicatorPropertiesCustomMetricParamsGoodMetricsInner.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Name** | **string** | The name of the metric. Only valid options are A-Z |
88
**Aggregation** | **string** | The aggregation type of the metric. Only valid option is \"sum\" |
9-
**Field** | **string** | The field of the metric. |
9+
**Field** | Pointer to **string** | The field of the metric. | [optional]
1010
**Filter** | Pointer to **string** | The filter to apply to the metric. | [optional]
1111

1212
## Methods
1313

1414
### NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner
1515

16-
`func NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner(name string, aggregation string, field string, ) *IndicatorPropertiesCustomMetricParamsGoodMetricsInner`
16+
`func NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner(name string, aggregation string, ) *IndicatorPropertiesCustomMetricParamsGoodMetricsInner`
1717

1818
NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner instantiates a new IndicatorPropertiesCustomMetricParamsGoodMetricsInner object
1919
This constructor will assign default values to properties that have it defined,
@@ -87,6 +87,11 @@ and a boolean to check if the value has been set.
8787

8888
SetField sets Field field to given value.
8989

90+
### HasField
91+
92+
`func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) HasField() bool`
93+
94+
HasField returns a boolean if a field has been set.
9095

9196
### GetFilter
9297

generated/slo/docs/IndicatorPropertiesCustomMetricParamsTotalMetricsInner.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Name** | **string** | The name of the metric. Only valid options are A-Z |
88
**Aggregation** | **string** | The aggregation type of the metric. Only valid option is \"sum\" |
9-
**Field** | **string** | The field of the metric. |
9+
**Field** | Pointer to **string** | The field of the metric. | [optional]
1010
**Filter** | Pointer to **string** | The filter to apply to the metric. | [optional]
1111

1212
## Methods
1313

1414
### NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner
1515

16-
`func NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner(name string, aggregation string, field string, ) *IndicatorPropertiesCustomMetricParamsTotalMetricsInner`
16+
`func NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner(name string, aggregation string, ) *IndicatorPropertiesCustomMetricParamsTotalMetricsInner`
1717

1818
NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner instantiates a new IndicatorPropertiesCustomMetricParamsTotalMetricsInner object
1919
This constructor will assign default values to properties that have it defined,
@@ -87,6 +87,11 @@ and a boolean to check if the value has been set.
8787

8888
SetField sets Field field to given value.
8989

90+
### HasField
91+
92+
`func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) HasField() bool`
93+
94+
HasField returns a boolean if a field has been set.
9095

9196
### GetFilter
9297

generated/slo/model_indicator_properties_custom_metric_params_good_metrics_inner.go

Lines changed: 22 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/slo/model_indicator_properties_custom_metric_params_total_metrics_inner.go

Lines changed: 22 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/slo/model_slo_response_group_by.go

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)