Skip to content

Commit

Permalink
Merge pull request #30 from OpenVPN/improve_cloudconnexa_user_resourc…
Browse files Browse the repository at this point in the history
…e_v2

Make email, lastname and firstname fields optional for resource "cloudconnexa_user"
  • Loading branch information
sahaqaa authored Aug 5, 2024
2 parents 3842d7c + 1eff172 commit 00cb4c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudconnexa/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ type User struct {
Id string `json:"id"`
Username string `json:"username"`
Role string `json:"role"`
Email string `json:"email"`
Email string `json:"email,omitempty"`
AuthType string `json:"authType"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
GroupId string `json:"groupId"`
Status string `json:"status"`
Devices []Device `json:"devices"`
Expand Down

0 comments on commit 00cb4c7

Please sign in to comment.