Versions in this module Expand all Collapse all v0 v0.6.0 Jul 5, 2019 Changes in this version + type CreateScheduleOverrideRequest struct + Alias string + ApiKey string + EndDate string + Rotations []Rotation + StartDate string + User User + func (r *CreateScheduleOverrideRequest) GenerateUrl() (string, url.Values, error) + func (r *CreateScheduleOverrideRequest) GetApiKey() string + type CreateScheduleOverrideResponse struct + ScheduleOverride ScheduleOverride + type CreateScheduleRequest struct + ApiKey string + Description string + Enabled bool + Name string + OwnerTeam OwnerTeam + Rotations []Rotation + Timezone string + func (r *CreateScheduleRequest) GenerateUrl() (string, url.Values, error) + func (r *CreateScheduleRequest) GetApiKey() string + type CreateScheduleResponse struct + Schedule Schedule + type CreateScheduleRotationRequest struct + ApiKey string + EndDate string + Length int + Name string + Participants []Participant + StartDate string + TimeRestriction TimeRestriction + Type Type + func (r *CreateScheduleRotationRequest) GenerateUrl() (string, url.Values, error) + func (r *CreateScheduleRotationRequest) GetApiKey() string + type CreateScheduleRotationResponse struct + Schedule Schedule + type Day string + const Friday + const Monday + const Saturday + const Sunday + const Thursday + const Tuesday + const Wednesday + type DeleteScheduleOverrideRequest struct + Alias string + ApiKey string + func (r *DeleteScheduleOverrideRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteScheduleOverrideRequest) GetApiKey() string + type DeleteScheduleOverrideResponse struct + type DeleteScheduleRequest struct + ApiKey string + func (r *DeleteScheduleRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteScheduleRequest) GetApiKey() string + type DeleteScheduleResponse struct + type DeleteScheduleRotationRequest struct + ApiKey string + ID string + func (r *DeleteScheduleRotationRequest) GenerateUrl() (string, url.Values, error) + func (r *DeleteScheduleRotationRequest) GetApiKey() string + type DeleteScheduleRotationResponse struct + type GetScheduleOverrideRequest struct + Alias string + ApiKey string + func (r *GetScheduleOverrideRequest) GenerateUrl() (string, url.Values, error) + func (r *GetScheduleOverrideRequest) GetApiKey() string + type GetScheduleOverrideResponse struct + ScheduleOverride ScheduleOverride + type GetScheduleRequest struct + ApiKey string + func (r *GetScheduleRequest) GenerateUrl() (string, url.Values, error) + func (r *GetScheduleRequest) GetApiKey() string + type GetScheduleResponse struct + Schedule Schedule + type GetScheduleRotationRequest struct + ApiKey string + ID string + func (r *GetScheduleRotationRequest) GenerateUrl() (string, url.Values, error) + func (r *GetScheduleRotationRequest) GetApiKey() string + type GetScheduleRotationResponse struct + Schedule Schedule + type Identifier struct + ID string + Name string + func (request *Identifier) GenerateUrl() (string, url.Values, error) + type ListScheduleOverrideRequest struct + ApiKey string + func (r *ListScheduleOverrideRequest) GenerateUrl() (string, url.Values, error) + func (r *ListScheduleOverrideRequest) GetApiKey() string + type ListScheduleOverrideResponse struct + ScheduleOverrides []ScheduleOverride + type ListScheduleRequest struct + ApiKey string + Expand string + func (r *ListScheduleRequest) GenerateUrl() (string, url.Values, error) + func (r *ListScheduleRequest) GetApiKey() string + type ListScheduleResponse struct + Schedule []Schedule + type ListScheduleRotationRequest struct + ApiKey string + func (r *ListScheduleRotationRequest) GenerateUrl() (string, url.Values, error) + func (r *ListScheduleRotationRequest) GetApiKey() string + type ListScheduleRotationResponse struct + Schedule []Schedule + type OwnerTeam struct + ID string + Name string + type Parent struct + Enabled bool + ID string + Name string + type Participant interface + func NewParticipant(participantType ParticipantType, ID string, name string, username string) (Participant, error) + type ParticipantType string + const EscalationParticipant + const NoneParticipant + const TeamParticipant + const UserParticipant + 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 Restriction struct + EndDay Day + EndHour int + EndMin int + StartDay Day + StartHour int + StartMin int + type RestrictionType string + const DayRestrictionType + const WeekDayRestrictionType + type Rotation struct + EndDate string + Length int + Name string + Participants []Participant + StartDate string + TimeRestriction TimeRestriction + Type Type + type Schedule struct + Description string + Enabled bool + ID string + Name string + OwnerTeam OwnerTeam + Rotations []Rotation + Timezone string + type ScheduleIdentifier struct + ID string + Name string + func (request *ScheduleIdentifier) GenerateUrl() (string, url.Values, error) + type ScheduleOverride struct + Alias string + EndDate string + Parent Parent + Rotations []Rotation + StartDate string + User User + type TimeRestriction struct + Restriction Restriction + Restrictions []Restriction + Type RestrictionType + type Type string + const DailyRotation + const HourlyRotation + const WeeklyRotation + type UpdateScheduleOverrideRequest struct + Alias string + ApiKey string + EndDate string + Rotations []Rotation + StartDate string + User User + func (r *UpdateScheduleOverrideRequest) GenerateUrl() (string, url.Values, error) + func (r *UpdateScheduleOverrideRequest) GetApiKey() string + type UpdateScheduleOverrideResponse struct + ScheduleOverride ScheduleOverride + type UpdateScheduleRequest struct + ApiKey string + Description string + Enabled bool + Name string + OwnerTeam OwnerTeam + Rotations []Rotation + Timezone string + func (r *UpdateScheduleRequest) GenerateUrl() (string, url.Values, error) + func (r *UpdateScheduleRequest) GetApiKey() string + type UpdateScheduleResponse struct + Schedule Schedule + type UpdateScheduleRotationRequest struct + ApiKey string + EndDate string + ID string + Length int + Name string + Participants []Participant + StartDate string + TimeRestriction TimeRestriction + Type Type + func (r *UpdateScheduleRotationRequest) GenerateUrl() (string, url.Values, error) + func (r *UpdateScheduleRotationRequest) GetApiKey() string + type UpdateScheduleRotationResponse struct + Schedule Schedule + type User struct + ID string + Type UserType + Username string + type UserType string + const NoneUserType + const UserUserType