@@ -155,9 +155,9 @@ type Key struct {
155155 Name string `json:"name,required"`
156156 // The time, measured in number of seconds since the UNIX epoch, at which the key
157157 // will expire. This property is omitted for keys that will not expire.
158- Expiration float64 `json:"expiration"`
159- Metadata Any `json:"metadata"`
160- JSON keyJSON `json:"-"`
158+ Expiration float64 `json:"expiration"`
159+ Metadata interface {} `json:"metadata"`
160+ JSON keyJSON `json:"-"`
161161}
162162
163163// keyJSON contains the JSON metadata for the struct [Key]
@@ -354,8 +354,8 @@ func (r NamespaceKeyBulkGetResponseWorkersKVBulkGetResultWithMetadata) implement
354354}
355355
356356type NamespaceKeyBulkGetResponseWorkersKVBulkGetResultWithMetadataValue struct {
357- Metadata Any `json:"metadata,required"`
358- Value Any `json:"value,required"`
357+ Metadata interface {} `json:"metadata,required"`
358+ Value interface {} `json:"value,required"`
359359 // Expires the key at a certain time, measured in number of seconds since the UNIX
360360 // epoch.
361361 Expiration float64 `json:"expiration"`
@@ -581,8 +581,8 @@ type NamespaceKeyBulkUpdateParamsBody struct {
581581 // epoch.
582582 Expiration param.Field [float64 ] `json:"expiration"`
583583 // Expires the key after a number of seconds. Must be at least 60.
584- ExpirationTTL param.Field [float64 ] `json:"expiration_ttl"`
585- Metadata param.Field [AnyParam ] `json:"metadata"`
584+ ExpirationTTL param.Field [float64 ] `json:"expiration_ttl"`
585+ Metadata param.Field [interface {} ] `json:"metadata"`
586586}
587587
588588func (r NamespaceKeyBulkUpdateParamsBody ) MarshalJSON () (data []byte , err error ) {
0 commit comments