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): OpenAPI spec update via Stainless API #1794

Merged
merged 1 commit into from
Apr 15, 2024
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 dns/analyticsreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ func (r AnalyticsReportGetParams) URLQuery() (v url.Values) {
type AnalyticsReportGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result Report `json:"result,required"`
// Whether the API call was successful
Success AnalyticsReportGetResponseEnvelopeSuccess `json:"success,required"`
Result Report `json:"result"`
JSON analyticsReportGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -204,8 +204,8 @@ type AnalyticsReportGetResponseEnvelope struct {
type analyticsReportGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Success apijson.Field
Result apijson.Field
Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
4 changes: 2 additions & 2 deletions dns/analyticsreportbytime.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ func (r AnalyticsReportBytimeGetParamsTimeDelta) IsKnown() bool {
type AnalyticsReportBytimeGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ByTime `json:"result,required"`
// Whether the API call was successful
Success AnalyticsReportBytimeGetResponseEnvelopeSuccess `json:"success,required"`
Result ByTime `json:"result"`
JSON analyticsReportBytimeGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -193,8 +193,8 @@ type AnalyticsReportBytimeGetResponseEnvelope struct {
type analyticsReportBytimeGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Success apijson.Field
Result apijson.Field
Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
4 changes: 2 additions & 2 deletions dns/firewallanalyticsreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ func (r FirewallAnalyticsReportGetParams) URLQuery() (v url.Values) {
type FirewallAnalyticsReportGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result Report `json:"result,required"`
// Whether the API call was successful
Success FirewallAnalyticsReportGetResponseEnvelopeSuccess `json:"success,required"`
Result Report `json:"result"`
JSON firewallAnalyticsReportGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -97,8 +97,8 @@ type FirewallAnalyticsReportGetResponseEnvelope struct {
type firewallAnalyticsReportGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Success apijson.Field
Result apijson.Field
Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down
4 changes: 2 additions & 2 deletions dns/firewallanalyticsreportbytime.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ func (r FirewallAnalyticsReportBytimeGetParamsTimeDelta) IsKnown() bool {
type FirewallAnalyticsReportBytimeGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ByTime `json:"result,required"`
// Whether the API call was successful
Success FirewallAnalyticsReportBytimeGetResponseEnvelopeSuccess `json:"success,required"`
Result ByTime `json:"result"`
JSON firewallAnalyticsReportBytimeGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -121,8 +121,8 @@ type FirewallAnalyticsReportBytimeGetResponseEnvelope struct {
type firewallAnalyticsReportBytimeGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Success apijson.Field
Result apijson.Field
Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down