Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users: Support for SkypeUsername on Create/Get/Update #10

Merged
merged 1 commit into from Jan 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions user/user.go
Expand Up @@ -14,6 +14,7 @@ type CreateUserRequest struct {
Fullname string `json:"fullname,omitempty"`
Role string `json:"role,omitempty"`
Locale string `json:"locale,omitempty"`
SkypeUsername string `json:"skypeUsername,omitempty"`
Timezone string `json:"timezone,omitempty"`
}

Expand All @@ -24,6 +25,7 @@ type UpdateUserRequest struct {
Fullname string `json:"fullname,omitempty"`
Role string `json:"role,omitempty"`
Locale string `json:"locale,omitempty"`
SkypeUsername string `json:"skypeUsername,omitempty"`
Timezone string `json:"timezone,omitempty"`
}

Expand Down
5 changes: 3 additions & 2 deletions user/user_responses.go
Expand Up @@ -10,13 +10,13 @@ type CreateUserResponse struct {
// Update user response structure
type UpdateUserResponse struct {
Status string `json:"status"`
Code int `json:"code"`
Code int `json:"code"`
}

// Delete user response structure
type DeleteUserResponse struct {
Status string `json:"status"`
Code int `json:"code"`
Code int `json:"code"`
}

// Participant
Expand All @@ -30,6 +30,7 @@ type GetUserResponse struct {
Id string `json:"id,omitempty"`
Username string `json:"username,omitempty"`
Fullname string `json:"fullname,omitempty"`
SkypeUsername string `json:"skypeUsername,omitempty"`
Timezone string `json:"timezone,omitempty"`
Locale string `json:"locale,omitempty"`
State string `json:"state,omitempty"`
Expand Down