Versions in this module Expand all Collapse all v0 v0.6.0 Jul 5, 2019 Changes in this version + const AdminRoleId + const ContactExpandableField + const ObserverRoleId + const OwnerRoleId + const StakeHolderRoleId + const UserRoleId + type ActionResult struct + Result Result + type ContactMethod string + const EmailContactMethod + const MobileContactMethod + const SMSContactMethod + const VoiceContactMethod + type CreateUserRequest struct + ApiKey string + Details map[string][]string + DisableInvitation bool + FullName string + Locale string + Role *UserRole + SkypeUsername string + Tags []string + Timezone string + UserAddress UserAddress + UserName string + func (r *CreateUserRequest) GenerateUrl() (string, url.Values, error) + func (r *CreateUserRequest) GetApiKey() string + type CreateUserResponse struct + User UserMeta + type Delay struct + TimeAmount int + TimeUnit string + type DeleteUserRequest struct + ApiKey string + func (r *DeleteUserRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteUserRequest) GetApiKey() string + type DeleteUserResponse struct + type Escalation struct + Description string + ID string + Name string + OwnerTeam OwnerTeam + Rules []Rule + type Expand string + type ForwardingRule struct + Alias string + EndDate time.Time + FromUser UserMeta + ID string + StartDate time.Time + ToUser UserMeta + type GetUserRequest struct + ApiKey string + ExpandContact bool + func (r *GetUserRequest) GetApiKey() string + func (request *GetUserRequest) GenerateUrl() (string, url.Values, error) + type GetUserResponse struct + User User + type Identifier struct + ID string + Username string + func (request *Identifier) GenerateUrl() (string, url.Values, error) + type ListUserEscalationsRequest struct + ApiKey string + func (r *ListUserEscalationsRequest) GenerateUrl() (string, url.Values, error) + func (r *ListUserEscalationsRequest) GetApiKey() string + type ListUserEscalationsResponse struct + Escalations []Escalation + type ListUserForwardingRulesRequest struct + ApiKey string + func (r *ListUserForwardingRulesRequest) GenerateUrl() (string, url.Values, error) + func (r *ListUserForwardingRulesRequest) GetApiKey() string + type ListUserForwardingRulesResponse struct + ForwardingRules []ForwardingRule + type ListUserSchedulesRequest struct + ApiKey string + func (r *ListUserSchedulesRequest) GenerateUrl() (string, url.Values, error) + func (r *ListUserSchedulesRequest) GetApiKey() string + type ListUserSchedulesResponse struct + Schedules []Schedule + type ListUserTeamsRequest struct + ApiKey string + func (r *ListUserTeamsRequest) GenerateUrl() (string, url.Values, error) + func (r *ListUserTeamsRequest) GetApiKey() string + type ListUserTeamsResponse struct + Teams []Team + type ListUsersRequest struct + ApiKey string + Limit int + Offset int + Order Order + Query string + Sort Sort + func (r *ListUsersRequest) GenerateUrl() (string, url.Values, error) + func (r *ListUsersRequest) GetApiKey() string + type ListUsersResponse struct + Users []User + type Order string + const AscSortType + const DescSortType + func (o Order) IsValid() bool + type OwnerTeam struct + ID string + Name string + type Recipient struct + ID string + Name string + Type string + type ResponseMeta struct + RateLimitState string + RequestID string + ResponseTime float32 + func (rm *ResponseMeta) SetRateLimitState(state string) + func (rm *ResponseMeta) SetRequestID(requestID string) + func (rm *ResponseMeta) SetResponseTime(responseTime float32) + type Result string + const DeletedResult + const DisableResult + const EnabledResult + type Rule struct + Condition string + Delay Delay + NotifyType string + Recipient Recipient + type Schedule struct + Enabled bool + ID string + Name string + type Sort string + const FullNameSortField + const InsertedAtSortField + const UsernameSortField + func (s Sort) IsValid() bool + type Team struct + ID string + Name string + type UpdateUserRequest struct + ApiKey string + Details map[string][]string + DisableInvitation bool + FullName string + Locale string + Role UserRole + SkypeUsername string + Tags []string + Timezone string + UserAddress UserAddress + Username string + func (r *UpdateUserRequest) GenerateUrl() (string, url.Values, error) + func (r *UpdateUserRequest) GetApiKey() string + type UpdateUserResponse struct + type User struct + Blocked bool + CreatedAt time.Time + Details map[string][]string + FullName string + ID string + Locale string + MutedUntil time.Time + Role UserRole + Tags []string + TimeZone string + UserAddress UserAddress + UserContacts []UserContact + Username string + Verified bool + type UserAddress struct + City string + Country string + Line string + State string + ZipCode string + type UserContact struct + ContactMethod ContactMethod + DisabledReason string + Enabled bool + ID string + To string + type UserMeta struct + ID string + Name string + type UserRole struct + ID string + Name string