Skip to content

Commit

Permalink
feat(api): manual updates (#3035)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Sep 9, 2024
1 parent 6798779 commit 0b9d6f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1330
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-60169622cdb93defdefea93ffc7d048f623611bd2220fbd0274f79e3e7bda5f0.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-eec7c480b3e4e506f387ed4e10d28ff2390788647dae3c613f71ac45b92d6c73.yml
8 changes: 6 additions & 2 deletions ai_gateway/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,13 @@ type LogListParamsDirection string
const (
LogListParamsDirectionAsc LogListParamsDirection = "asc"
LogListParamsDirectionDesc LogListParamsDirection = "desc"
LogListParamsDirectionAsc LogListParamsDirection = "ASC"
LogListParamsDirectionDesc LogListParamsDirection = "DESC"
)

func (r LogListParamsDirection) IsKnown() bool {
switch r {
case LogListParamsDirectionAsc, LogListParamsDirectionDesc:
case LogListParamsDirectionAsc, LogListParamsDirectionDesc, LogListParamsDirectionAsc, LogListParamsDirectionDesc:
return true
}
return false
Expand Down Expand Up @@ -200,11 +202,13 @@ type LogListParamsOrderByDirection string
const (
LogListParamsOrderByDirectionAsc LogListParamsOrderByDirection = "asc"
LogListParamsOrderByDirectionDesc LogListParamsOrderByDirection = "desc"
LogListParamsOrderByDirectionAsc LogListParamsOrderByDirection = "ASC"
LogListParamsOrderByDirectionDesc LogListParamsOrderByDirection = "DESC"
)

func (r LogListParamsOrderByDirection) IsKnown() bool {
switch r {
case LogListParamsOrderByDirectionAsc, LogListParamsOrderByDirectionDesc:
case LogListParamsOrderByDirectionAsc, LogListParamsOrderByDirectionDesc, LogListParamsOrderByDirectionAsc, LogListParamsOrderByDirectionDesc:
return true
}
return false
Expand Down

0 comments on commit 0b9d6f8

Please sign in to comment.