Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct { CreatedAt time.Time `json:"createdAt"` // 作成日時 CreatedBy string `json:"createdBy"` // 作成者 UpdatedAt time.Time `json:"updatedAt"` // 更新日時 UpdatedBy string `json:"updatedBy"` // 更新者 DeletedAt *time.Time `json:"deletedAt"` // 削除日時 DeletedBy string `json:"deletedBy"` // 削除者 Version int `json:"version"` // 楽観的排他ロック用バージョン }
Meta - メタ情報
type Organization ¶
type Organization struct { ID string `firestore:"-" firestore_key:"auto"` // ID Name string `` // 名称 LINEWorksAppID string `` // LINE Works App ID LINEWorksConsumerKey string `` // LINE Works Service API Consumer Key LINEWorksDomain string `` // LINE Works Domain Meta }
Organization - 組織
type OrganizationUser ¶
type OrganizationUser struct { ID string `firestore:"-" firestore_key:"auto"` // ID OrganizationID string `` // 組織ID PrimaryEmail string `` // メールアドレス LINEWorksAccessToken string `` // LINE Works Access Token GoogleCalendarEmail string `` // Google Calendar メールアドレス GoogleCalendarAccessToken string `` // Google Calendar Access Token Meta }
OrganizationUser - 組織ユーザー
type User ¶
type User struct { ID string `firestore:"-" firestore_key:"auto"` // ID Name string `` // ニックネーム PrimaryEmail string ` unique:""` // メールアドレス Domain string `` // ドメイン IsAdmin bool `` // 管理者 LINEWorksState string `` // LINE Works State LINEWorksAccessToken string `` // LINE Works Access Token LINEWorksRefreshToken string `` // LINE Works Refresh Token GoogleCalendarEmail string `` // Google Calendar メールアドレス GoogleCalendarAccessToken string `` // Google Calendar Access Token GoogleCalendarRefreshToken string `` // Google Calendar Refresh Token GoogleCalendarTokenType string `` // Google Calendar TokenType GoogleCalendarExpiry time.Time `` // Google Calendarr Expiry Meta }
User - ユーザー
func (*User) GetGoogleCalendarToken ¶
Click to show internal directories.
Click to hide internal directories.