diff --git a/openstack/identity/v3/users/requests.go b/openstack/identity/v3/users/requests.go index 6c6f74bc0..d03e954b9 100644 --- a/openstack/identity/v3/users/requests.go +++ b/openstack/identity/v3/users/requests.go @@ -86,6 +86,9 @@ type CreateOpts struct { // Password is the password of the new user. Password string `json:"password,omitempty"` + + // Description is a description of the user. + Description string `json:"description,omitempty"` } // ToUserCreateMap formats a CreateOpts into a create request. @@ -133,6 +136,9 @@ type UpdateOpts struct { // Password is the password of the new user. Password string `json:"password,omitempty"` + + // Description is a description of the user. + Description string `json:"description,omitempty"` } // ToUserUpdateMap formats a UpdateOpts into an update request. diff --git a/openstack/identity/v3/users/results.go b/openstack/identity/v3/users/results.go index 969a9f889..ccb07657b 100644 --- a/openstack/identity/v3/users/results.go +++ b/openstack/identity/v3/users/results.go @@ -13,6 +13,9 @@ type User struct { // DefaultProjectID is the ID of the default project of the user. DefaultProjectID string `json:"default_project_id"` + // Description is a description of the user. + Description string `json:"description"` + // DomainID is the domain ID the user belongs to. DomainID string `json:"domain_id"`