Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c68f41b

Browse files
committedMar 17, 2025·
feat(api): api update (#4044)
1 parent da8ba14 commit c68f41b

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1617
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-becd741deb775d812c46c5d719f675f080120a2823fe5d0af19b6b37b14f75a7.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7519e02b0f969ed55c78992147bee00bd22a39f391fde9d56edd2b3a25ced909.yml

‎durable_objects/namespace.go

+13-15
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,23 @@ func (r *NamespaceService) ListAutoPaging(ctx context.Context, query NamespaceLi
6464
}
6565

6666
type Namespace struct {
67-
ID string `json:"id"`
68-
Class string `json:"class"`
69-
Name string `json:"name"`
70-
Script string `json:"script"`
71-
UseContainers bool `json:"use_containers"`
72-
UseSqlite bool `json:"use_sqlite"`
73-
JSON namespaceJSON `json:"-"`
67+
ID string `json:"id"`
68+
Class string `json:"class"`
69+
Name string `json:"name"`
70+
Script string `json:"script"`
71+
UseSqlite bool `json:"use_sqlite"`
72+
JSON namespaceJSON `json:"-"`
7473
}
7574

7675
// namespaceJSON contains the JSON metadata for the struct [Namespace]
7776
type namespaceJSON struct {
78-
ID apijson.Field
79-
Class apijson.Field
80-
Name apijson.Field
81-
Script apijson.Field
82-
UseContainers apijson.Field
83-
UseSqlite apijson.Field
84-
raw string
85-
ExtraFields map[string]apijson.Field
77+
ID apijson.Field
78+
Class apijson.Field
79+
Name apijson.Field
80+
Script apijson.Field
81+
UseSqlite apijson.Field
82+
raw string
83+
ExtraFields map[string]apijson.Field
8684
}
8785

8886
func (r *Namespace) UnmarshalJSON(data []byte) (err error) {

0 commit comments

Comments
 (0)
Please sign in to comment.