@@ -155,10 +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- // Arbitrary JSON that is associated with a key.
160- Metadata interface {} `json:"metadata"`
161- JSON keyJSON `json:"-"`
158+ Expiration float64 `json:"expiration"`
159+ Metadata interface {} `json:"metadata"`
160+ JSON keyJSON `json:"-"`
162161}
163162
164163// keyJSON contains the JSON metadata for the struct [Key]
@@ -355,10 +354,8 @@ func (r NamespaceKeyBulkGetResponseWorkersKVBulkGetResultWithMetadata) implement
355354}
356355
357356type NamespaceKeyBulkGetResponseWorkersKVBulkGetResultWithMetadataValue struct {
358- // The metadata associated with the key.
359357 Metadata interface {} `json:"metadata,required"`
360- // The value associated with the key.
361- Value interface {} `json:"value,required"`
358+ Value interface {} `json:"value,required"`
362359 // Expires the key at a certain time, measured in number of seconds since the UNIX
363360 // epoch.
364361 Expiration float64 `json:"expiration"`
@@ -584,9 +581,8 @@ type NamespaceKeyBulkUpdateParamsBody struct {
584581 // epoch.
585582 Expiration param.Field [float64 ] `json:"expiration"`
586583 // Expires the key after a number of seconds. Must be at least 60.
587- ExpirationTTL param.Field [float64 ] `json:"expiration_ttl"`
588- // Arbitrary JSON that is associated with a key.
589- Metadata param.Field [interface {}] `json:"metadata"`
584+ ExpirationTTL param.Field [float64 ] `json:"expiration_ttl"`
585+ Metadata param.Field [interface {}] `json:"metadata"`
590586}
591587
592588func (r NamespaceKeyBulkUpdateParamsBody ) MarshalJSON () (data []byte , err error ) {
0 commit comments