Skip to content

Commit

Permalink
Add Visibility to UserEmail (google#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 authored and gmlewis committed Jul 4, 2019
1 parent cbae058 commit 837b0e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions github/users_emails.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import "context"

// UserEmail represents user's email address
type UserEmail struct {
Email *string `json:"email,omitempty"`
Primary *bool `json:"primary,omitempty"`
Verified *bool `json:"verified,omitempty"`
Email *string `json:"email,omitempty"`
Primary *bool `json:"primary,omitempty"`
Verified *bool `json:"verified,omitempty"`
Visibility *string `json:"visibility,omitempty"`
}

// ListEmails lists all email addresses for the authenticated user.
Expand Down

0 comments on commit 837b0e0

Please sign in to comment.