Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): mark JSON as initialism #3791

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions radar/aibotsummary.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,13 @@ func (r AIBotSummaryUserAgentParams) URLQuery() (v url.Values) {
type AIBotSummaryUserAgentParamsFormat string

const (
AIBotSummaryUserAgentParamsFormatJson AIBotSummaryUserAgentParamsFormat = "JSON"
AIBotSummaryUserAgentParamsFormatJSON AIBotSummaryUserAgentParamsFormat = "JSON"
AIBotSummaryUserAgentParamsFormatCsv AIBotSummaryUserAgentParamsFormat = "CSV"
)

func (r AIBotSummaryUserAgentParamsFormat) IsKnown() bool {
switch r {
case AIBotSummaryUserAgentParamsFormatJson, AIBotSummaryUserAgentParamsFormatCsv:
case AIBotSummaryUserAgentParamsFormatJSON, AIBotSummaryUserAgentParamsFormatCsv:
return true
}
return false
Expand Down
2 changes: 1 addition & 1 deletion radar/aibotsummary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestAIBotSummaryUserAgentWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AIBotSummaryUserAgentParamsFormatJson),
Format: cloudflare.F(radar.AIBotSummaryUserAgentParamsFormatJSON),
LimitPerGroup: cloudflare.F(int64(10)),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
Expand Down
4 changes: 2 additions & 2 deletions radar/aitimeseriesgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ func (r AITimeseriesGroupUserAgentParamsAggInterval) IsKnown() bool {
type AITimeseriesGroupUserAgentParamsFormat string

const (
AITimeseriesGroupUserAgentParamsFormatJson AITimeseriesGroupUserAgentParamsFormat = "JSON"
AITimeseriesGroupUserAgentParamsFormatJSON AITimeseriesGroupUserAgentParamsFormat = "JSON"
AITimeseriesGroupUserAgentParamsFormatCsv AITimeseriesGroupUserAgentParamsFormat = "CSV"
)

func (r AITimeseriesGroupUserAgentParamsFormat) IsKnown() bool {
switch r {
case AITimeseriesGroupUserAgentParamsFormatJson, AITimeseriesGroupUserAgentParamsFormatCsv:
case AITimeseriesGroupUserAgentParamsFormatJSON, AITimeseriesGroupUserAgentParamsFormatCsv:
return true
}
return false
Expand Down
2 changes: 1 addition & 1 deletion radar/aitimeseriesgroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestAITimeseriesGroupUserAgentWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AITimeseriesGroupUserAgentParamsFormatJson),
Format: cloudflare.F(radar.AITimeseriesGroupUserAgentParamsFormatJSON),
LimitPerGroup: cloudflare.F(int64(10)),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
Expand Down
4 changes: 2 additions & 2 deletions radar/annotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ func (r AnnotationListParams) URLQuery() (v url.Values) {
type AnnotationListParamsFormat string

const (
AnnotationListParamsFormatJson AnnotationListParamsFormat = "JSON"
AnnotationListParamsFormatJSON AnnotationListParamsFormat = "JSON"
AnnotationListParamsFormatCsv AnnotationListParamsFormat = "CSV"
)

func (r AnnotationListParamsFormat) IsKnown() bool {
switch r {
case AnnotationListParamsFormatJson, AnnotationListParamsFormatCsv:
case AnnotationListParamsFormatJSON, AnnotationListParamsFormatCsv:
return true
}
return false
Expand Down
2 changes: 1 addition & 1 deletion radar/annotation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestAnnotationListWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F(time.Now()),
DateRange: cloudflare.F("7d"),
DateStart: cloudflare.F(time.Now()),
Format: cloudflare.F(radar.AnnotationListParamsFormatJson),
Format: cloudflare.F(radar.AnnotationListParamsFormatJSON),
Limit: cloudflare.F(int64(5)),
Location: cloudflare.F("US"),
Offset: cloudflare.F(int64(0)),
Expand Down
8 changes: 4 additions & 4 deletions radar/annotationoutage.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,13 @@ func (r AnnotationOutageGetParams) URLQuery() (v url.Values) {
type AnnotationOutageGetParamsFormat string

const (
AnnotationOutageGetParamsFormatJson AnnotationOutageGetParamsFormat = "JSON"
AnnotationOutageGetParamsFormatJSON AnnotationOutageGetParamsFormat = "JSON"
AnnotationOutageGetParamsFormatCsv AnnotationOutageGetParamsFormat = "CSV"
)

func (r AnnotationOutageGetParamsFormat) IsKnown() bool {
switch r {
case AnnotationOutageGetParamsFormatJson, AnnotationOutageGetParamsFormatCsv:
case AnnotationOutageGetParamsFormatJSON, AnnotationOutageGetParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -362,13 +362,13 @@ func (r AnnotationOutageLocationsParams) URLQuery() (v url.Values) {
type AnnotationOutageLocationsParamsFormat string

const (
AnnotationOutageLocationsParamsFormatJson AnnotationOutageLocationsParamsFormat = "JSON"
AnnotationOutageLocationsParamsFormatJSON AnnotationOutageLocationsParamsFormat = "JSON"
AnnotationOutageLocationsParamsFormatCsv AnnotationOutageLocationsParamsFormat = "CSV"
)

func (r AnnotationOutageLocationsParamsFormat) IsKnown() bool {
switch r {
case AnnotationOutageLocationsParamsFormatJson, AnnotationOutageLocationsParamsFormatCsv:
case AnnotationOutageLocationsParamsFormatJSON, AnnotationOutageLocationsParamsFormatCsv:
return true
}
return false
Expand Down
4 changes: 2 additions & 2 deletions radar/annotationoutage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestAnnotationOutageGetWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F(time.Now()),
DateRange: cloudflare.F("7d"),
DateStart: cloudflare.F(time.Now()),
Format: cloudflare.F(radar.AnnotationOutageGetParamsFormatJson),
Format: cloudflare.F(radar.AnnotationOutageGetParamsFormatJSON),
Limit: cloudflare.F(int64(5)),
Location: cloudflare.F("US"),
Offset: cloudflare.F(int64(0)),
Expand Down Expand Up @@ -64,7 +64,7 @@ func TestAnnotationOutageLocationsWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F(time.Now()),
DateRange: cloudflare.F("7d"),
DateStart: cloudflare.F(time.Now()),
Format: cloudflare.F(radar.AnnotationOutageLocationsParamsFormatJson),
Format: cloudflare.F(radar.AnnotationOutageLocationsParamsFormatJSON),
Limit: cloudflare.F(int64(5)),
})
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions radar/as112.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,13 @@ func (r AS112TimeseriesParamsAggInterval) IsKnown() bool {
type AS112TimeseriesParamsFormat string

const (
AS112TimeseriesParamsFormatJson AS112TimeseriesParamsFormat = "JSON"
AS112TimeseriesParamsFormatJSON AS112TimeseriesParamsFormat = "JSON"
AS112TimeseriesParamsFormatCsv AS112TimeseriesParamsFormat = "CSV"
)

func (r AS112TimeseriesParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesParamsFormatJson, AS112TimeseriesParamsFormatCsv:
case AS112TimeseriesParamsFormatJSON, AS112TimeseriesParamsFormatCsv:
return true
}
return false
Expand Down
2 changes: 1 addition & 1 deletion radar/as112_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestAS112TimeseriesWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112TimeseriesParamsFormatJson),
Format: cloudflare.F(radar.AS112TimeseriesParamsFormatJSON),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
})
Expand Down
24 changes: 12 additions & 12 deletions radar/as112summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -1034,13 +1034,13 @@ func (r AS112SummaryDNSSECParams) URLQuery() (v url.Values) {
type AS112SummaryDNSSECParamsFormat string

const (
AS112SummaryDNSSECParamsFormatJson AS112SummaryDNSSECParamsFormat = "JSON"
AS112SummaryDNSSECParamsFormatJSON AS112SummaryDNSSECParamsFormat = "JSON"
AS112SummaryDNSSECParamsFormatCsv AS112SummaryDNSSECParamsFormat = "CSV"
)

func (r AS112SummaryDNSSECParamsFormat) IsKnown() bool {
switch r {
case AS112SummaryDNSSECParamsFormatJson, AS112SummaryDNSSECParamsFormatCsv:
case AS112SummaryDNSSECParamsFormatJSON, AS112SummaryDNSSECParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -1108,13 +1108,13 @@ func (r AS112SummaryEdnsParams) URLQuery() (v url.Values) {
type AS112SummaryEdnsParamsFormat string

const (
AS112SummaryEdnsParamsFormatJson AS112SummaryEdnsParamsFormat = "JSON"
AS112SummaryEdnsParamsFormatJSON AS112SummaryEdnsParamsFormat = "JSON"
AS112SummaryEdnsParamsFormatCsv AS112SummaryEdnsParamsFormat = "CSV"
)

func (r AS112SummaryEdnsParamsFormat) IsKnown() bool {
switch r {
case AS112SummaryEdnsParamsFormatJson, AS112SummaryEdnsParamsFormatCsv:
case AS112SummaryEdnsParamsFormatJSON, AS112SummaryEdnsParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -1183,13 +1183,13 @@ func (r AS112SummaryIPVersionParams) URLQuery() (v url.Values) {
type AS112SummaryIPVersionParamsFormat string

const (
AS112SummaryIPVersionParamsFormatJson AS112SummaryIPVersionParamsFormat = "JSON"
AS112SummaryIPVersionParamsFormatJSON AS112SummaryIPVersionParamsFormat = "JSON"
AS112SummaryIPVersionParamsFormatCsv AS112SummaryIPVersionParamsFormat = "CSV"
)

func (r AS112SummaryIPVersionParamsFormat) IsKnown() bool {
switch r {
case AS112SummaryIPVersionParamsFormatJson, AS112SummaryIPVersionParamsFormatCsv:
case AS112SummaryIPVersionParamsFormatJSON, AS112SummaryIPVersionParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -1258,13 +1258,13 @@ func (r AS112SummaryProtocolParams) URLQuery() (v url.Values) {
type AS112SummaryProtocolParamsFormat string

const (
AS112SummaryProtocolParamsFormatJson AS112SummaryProtocolParamsFormat = "JSON"
AS112SummaryProtocolParamsFormatJSON AS112SummaryProtocolParamsFormat = "JSON"
AS112SummaryProtocolParamsFormatCsv AS112SummaryProtocolParamsFormat = "CSV"
)

func (r AS112SummaryProtocolParamsFormat) IsKnown() bool {
switch r {
case AS112SummaryProtocolParamsFormatJson, AS112SummaryProtocolParamsFormatCsv:
case AS112SummaryProtocolParamsFormatJSON, AS112SummaryProtocolParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -1336,13 +1336,13 @@ func (r AS112SummaryQueryTypeParams) URLQuery() (v url.Values) {
type AS112SummaryQueryTypeParamsFormat string

const (
AS112SummaryQueryTypeParamsFormatJson AS112SummaryQueryTypeParamsFormat = "JSON"
AS112SummaryQueryTypeParamsFormatJSON AS112SummaryQueryTypeParamsFormat = "JSON"
AS112SummaryQueryTypeParamsFormatCsv AS112SummaryQueryTypeParamsFormat = "CSV"
)

func (r AS112SummaryQueryTypeParamsFormat) IsKnown() bool {
switch r {
case AS112SummaryQueryTypeParamsFormatJson, AS112SummaryQueryTypeParamsFormatCsv:
case AS112SummaryQueryTypeParamsFormatJSON, AS112SummaryQueryTypeParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -1414,13 +1414,13 @@ func (r AS112SummaryResponseCodesParams) URLQuery() (v url.Values) {
type AS112SummaryResponseCodesParamsFormat string

const (
AS112SummaryResponseCodesParamsFormatJson AS112SummaryResponseCodesParamsFormat = "JSON"
AS112SummaryResponseCodesParamsFormatJSON AS112SummaryResponseCodesParamsFormat = "JSON"
AS112SummaryResponseCodesParamsFormatCsv AS112SummaryResponseCodesParamsFormat = "CSV"
)

func (r AS112SummaryResponseCodesParamsFormat) IsKnown() bool {
switch r {
case AS112SummaryResponseCodesParamsFormatJson, AS112SummaryResponseCodesParamsFormatCsv:
case AS112SummaryResponseCodesParamsFormatJSON, AS112SummaryResponseCodesParamsFormatCsv:
return true
}
return false
Expand Down
12 changes: 6 additions & 6 deletions radar/as112summary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestAS112SummaryDNSSECWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112SummaryDNSSECParamsFormatJson),
Format: cloudflare.F(radar.AS112SummaryDNSSECParamsFormatJSON),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
})
Expand Down Expand Up @@ -66,7 +66,7 @@ func TestAS112SummaryEdnsWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112SummaryEdnsParamsFormatJson),
Format: cloudflare.F(radar.AS112SummaryEdnsParamsFormatJSON),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
})
Expand Down Expand Up @@ -98,7 +98,7 @@ func TestAS112SummaryIPVersionWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112SummaryIPVersionParamsFormatJson),
Format: cloudflare.F(radar.AS112SummaryIPVersionParamsFormatJSON),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
})
Expand Down Expand Up @@ -130,7 +130,7 @@ func TestAS112SummaryProtocolWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112SummaryProtocolParamsFormatJson),
Format: cloudflare.F(radar.AS112SummaryProtocolParamsFormatJSON),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
})
Expand Down Expand Up @@ -162,7 +162,7 @@ func TestAS112SummaryQueryTypeWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112SummaryQueryTypeParamsFormatJson),
Format: cloudflare.F(radar.AS112SummaryQueryTypeParamsFormatJSON),
LimitPerGroup: cloudflare.F(int64(10)),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
Expand Down Expand Up @@ -195,7 +195,7 @@ func TestAS112SummaryResponseCodesWithOptionalParams(t *testing.T) {
DateEnd: cloudflare.F([]time.Time{time.Now()}),
DateRange: cloudflare.F([]string{"7d"}),
DateStart: cloudflare.F([]time.Time{time.Now()}),
Format: cloudflare.F(radar.AS112SummaryResponseCodesParamsFormatJson),
Format: cloudflare.F(radar.AS112SummaryResponseCodesParamsFormatJSON),
LimitPerGroup: cloudflare.F(int64(10)),
Location: cloudflare.F([]string{"string"}),
Name: cloudflare.F([]string{"string"}),
Expand Down
24 changes: 12 additions & 12 deletions radar/as112timeseriesgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,13 +459,13 @@ func (r AS112TimeseriesGroupDNSSECParamsAggInterval) IsKnown() bool {
type AS112TimeseriesGroupDNSSECParamsFormat string

const (
AS112TimeseriesGroupDNSSECParamsFormatJson AS112TimeseriesGroupDNSSECParamsFormat = "JSON"
AS112TimeseriesGroupDNSSECParamsFormatJSON AS112TimeseriesGroupDNSSECParamsFormat = "JSON"
AS112TimeseriesGroupDNSSECParamsFormatCsv AS112TimeseriesGroupDNSSECParamsFormat = "CSV"
)

func (r AS112TimeseriesGroupDNSSECParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesGroupDNSSECParamsFormatJson, AS112TimeseriesGroupDNSSECParamsFormatCsv:
case AS112TimeseriesGroupDNSSECParamsFormatJSON, AS112TimeseriesGroupDNSSECParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -558,13 +558,13 @@ func (r AS112TimeseriesGroupEdnsParamsAggInterval) IsKnown() bool {
type AS112TimeseriesGroupEdnsParamsFormat string

const (
AS112TimeseriesGroupEdnsParamsFormatJson AS112TimeseriesGroupEdnsParamsFormat = "JSON"
AS112TimeseriesGroupEdnsParamsFormatJSON AS112TimeseriesGroupEdnsParamsFormat = "JSON"
AS112TimeseriesGroupEdnsParamsFormatCsv AS112TimeseriesGroupEdnsParamsFormat = "CSV"
)

func (r AS112TimeseriesGroupEdnsParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesGroupEdnsParamsFormatJson, AS112TimeseriesGroupEdnsParamsFormatCsv:
case AS112TimeseriesGroupEdnsParamsFormatJSON, AS112TimeseriesGroupEdnsParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -657,13 +657,13 @@ func (r AS112TimeseriesGroupIPVersionParamsAggInterval) IsKnown() bool {
type AS112TimeseriesGroupIPVersionParamsFormat string

const (
AS112TimeseriesGroupIPVersionParamsFormatJson AS112TimeseriesGroupIPVersionParamsFormat = "JSON"
AS112TimeseriesGroupIPVersionParamsFormatJSON AS112TimeseriesGroupIPVersionParamsFormat = "JSON"
AS112TimeseriesGroupIPVersionParamsFormatCsv AS112TimeseriesGroupIPVersionParamsFormat = "CSV"
)

func (r AS112TimeseriesGroupIPVersionParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesGroupIPVersionParamsFormatJson, AS112TimeseriesGroupIPVersionParamsFormatCsv:
case AS112TimeseriesGroupIPVersionParamsFormatJSON, AS112TimeseriesGroupIPVersionParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -756,13 +756,13 @@ func (r AS112TimeseriesGroupProtocolParamsAggInterval) IsKnown() bool {
type AS112TimeseriesGroupProtocolParamsFormat string

const (
AS112TimeseriesGroupProtocolParamsFormatJson AS112TimeseriesGroupProtocolParamsFormat = "JSON"
AS112TimeseriesGroupProtocolParamsFormatJSON AS112TimeseriesGroupProtocolParamsFormat = "JSON"
AS112TimeseriesGroupProtocolParamsFormatCsv AS112TimeseriesGroupProtocolParamsFormat = "CSV"
)

func (r AS112TimeseriesGroupProtocolParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesGroupProtocolParamsFormatJson, AS112TimeseriesGroupProtocolParamsFormatCsv:
case AS112TimeseriesGroupProtocolParamsFormatJSON, AS112TimeseriesGroupProtocolParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -858,13 +858,13 @@ func (r AS112TimeseriesGroupQueryTypeParamsAggInterval) IsKnown() bool {
type AS112TimeseriesGroupQueryTypeParamsFormat string

const (
AS112TimeseriesGroupQueryTypeParamsFormatJson AS112TimeseriesGroupQueryTypeParamsFormat = "JSON"
AS112TimeseriesGroupQueryTypeParamsFormatJSON AS112TimeseriesGroupQueryTypeParamsFormat = "JSON"
AS112TimeseriesGroupQueryTypeParamsFormatCsv AS112TimeseriesGroupQueryTypeParamsFormat = "CSV"
)

func (r AS112TimeseriesGroupQueryTypeParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesGroupQueryTypeParamsFormatJson, AS112TimeseriesGroupQueryTypeParamsFormatCsv:
case AS112TimeseriesGroupQueryTypeParamsFormatJSON, AS112TimeseriesGroupQueryTypeParamsFormatCsv:
return true
}
return false
Expand Down Expand Up @@ -960,13 +960,13 @@ func (r AS112TimeseriesGroupResponseCodesParamsAggInterval) IsKnown() bool {
type AS112TimeseriesGroupResponseCodesParamsFormat string

const (
AS112TimeseriesGroupResponseCodesParamsFormatJson AS112TimeseriesGroupResponseCodesParamsFormat = "JSON"
AS112TimeseriesGroupResponseCodesParamsFormatJSON AS112TimeseriesGroupResponseCodesParamsFormat = "JSON"
AS112TimeseriesGroupResponseCodesParamsFormatCsv AS112TimeseriesGroupResponseCodesParamsFormat = "CSV"
)

func (r AS112TimeseriesGroupResponseCodesParamsFormat) IsKnown() bool {
switch r {
case AS112TimeseriesGroupResponseCodesParamsFormatJson, AS112TimeseriesGroupResponseCodesParamsFormatCsv:
case AS112TimeseriesGroupResponseCodesParamsFormatJSON, AS112TimeseriesGroupResponseCodesParamsFormatCsv:
return true
}
return false
Expand Down
Loading