-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAuthenticatedUser.go
45 lines (41 loc) · 2.08 KB
/
AuthenticatedUser.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package sqiima
// AuthenticatedUser は現在のアクセストークンで認証中のユーザのオブジェクトを表します.
// 通常のユーザ情報よりも詳細な情報を含んでいます.
type AuthenticatedUser struct {
// Description : 自己紹介文
Description *string `json:"description"`
// FacebookID : Facebook ID
FacebookID *string `json:"facebook_id"`
// GithubLoginName : GitHub ID
GithubLoginName *string `json:"github_login_name"`
// LinkedinID : LinkedIn ID
LinkedinID *string `json:"linkedin_id"`
// Location : 居住地
Location *string `json:"location"`
// Name : 設定している名前
Name *string `json:"name"`
// Organization : 所属している組織
Organization *string `json:"organization"`
// TwitterScreenName : Twitterのスクリーンネーム
TwitterScreenName *string `json:"twitter_screen_name"`
// WebsiteURL : 設定しているWebサイトのURL
WebsiteURL *string `json:"website_url"`
// ID : ユーザID
ID string `json:"id"`
// ProfileImageURL : 設定しているプロフィール画像のURL
ProfileImageURL string `json:"profile_image_url"`
// FolloweesCount : このユーザがフォローしているユーザの数
FolloweesCount int64 `json:"followees_count"`
// FollowersCount : このユーザをフォローしているユーザの数
FollowersCount int64 `json:"followers_count"`
// ImageMonthlyUploadLimit : 1ヶ月あたりにQiitaにアップロードできる画像の総容量
ImageMonthlyUploadLimit int64 `json:"image_monthly_upload_limit"`
// ImageMonthlyUploadRemaining : その月にQiitaにアップロードできる画像の残りの容量
ImageMonthlyUploadRemaining int64 `json:"image_monthly_upload_remaining"`
// ItemsCount : このユーザが qiita.com 上で公開している記事の数 (Qiita Teamでの記事数は含まれません)
ItemsCount int64 `json:"items_count"`
// PermanentID : ユーザごとに割り当てられる整数のID
PermanentID int64 `json:"permanent_id"`
// TeamOnly : Qiita Team専用モードに設定されているかどうか
TeamOnly bool `json:"team_only"`
}