File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -798,6 +798,8 @@ type Token struct {
798798 Status TokenStatus `json:"status"`
799799
800800 ExpiresAt * time.Time `json:"expires_at"`
801+
802+ Description * string `json:"description"`
801803}
802804
803805// Service API
@@ -1978,6 +1980,8 @@ type CreateTokenRequest struct {
19781980 NamespaceID * string `json:"namespace_id,omitempty"`
19791981
19801982 ExpiresAt * time.Time `json:"expires_at"`
1983+
1984+ Description * string `json:"description"`
19811985}
19821986
19831987func (s * API ) CreateToken (req * CreateTokenRequest , opts ... scw.RequestOption ) (* Token , error ) {
Original file line number Diff line number Diff line change @@ -899,6 +899,8 @@ type Token struct {
899899 Status TokenStatus `json:"status"`
900900
901901 ExpiresAt * time.Time `json:"expires_at"`
902+
903+ Description * string `json:"description"`
902904}
903905
904906// UploadURL: upload url
@@ -2207,6 +2209,8 @@ type CreateTokenRequest struct {
22072209 NamespaceID * string `json:"namespace_id,omitempty"`
22082210
22092211 ExpiresAt * time.Time `json:"expires_at"`
2212+
2213+ Description * string `json:"description"`
22102214}
22112215
22122216func (s * API ) CreateToken (req * CreateTokenRequest , opts ... scw.RequestOption ) (* Token , error ) {
You can’t perform that action at this time.
0 commit comments