Documentation
¶
Index ¶
- type Client
- func (c *Client) AcknowledgeIssue(ctx context.Context, issueID string) (smee.Issue, error)
- func (c *Client) ActiveAlertExists(ctx context.Context, roomID, deviceID, typ string) (bool, error)
- func (c *Client) ActiveAlerts(ctx context.Context) ([]smee.Alert, error)
- func (c *Client) ActiveAlertsByType(ctx context.Context, typ string) ([]smee.Alert, error)
- func (c *Client) ActiveIssue(ctx context.Context, roomID string) (smee.Issue, error)
- func (c *Client) ActiveIssues(ctx context.Context) ([]smee.Issue, error)
- func (c *Client) AddIssueEvents(ctx context.Context, issueID string, smeeEvents ...smee.IssueEvent) error
- func (c *Client) Close() error
- func (c *Client) CloseAlert(ctx context.Context, issueID, alertID string) (smee.Issue, error)
- func (c *Client) CloseAlertsForIssue(ctx context.Context, issueID string) (smee.Issue, error)
- func (c *Client) CreateAlert(ctx context.Context, smeeAlert smee.Alert) (smee.Issue, error)
- func (c *Client) IssueType(ctx context.Context) (map[string]smee.IssueType, error)
- func (c *Client) LinkIncident(ctx context.Context, issueID string, inc smee.Incident) (smee.Issue, error)
- func (c *Client) RoomMaintenanceInfo(ctx context.Context, roomID string) (smee.MaintenanceInfo, error)
- func (c *Client) RoomsInMaintenance(ctx context.Context) (map[string]smee.MaintenanceInfo, error)
- func (c *Client) SetIssueStatus(ctx context.Context, issueID string, status string) (smee.Issue, error)
- func (c *Client) SetMaintenanceInfo(ctx context.Context, info smee.MaintenanceInfo) error
- func (c *Client) UnacknowledgeIssue(ctx context.Context, issueID string) (smee.Issue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) AcknowledgeIssue ¶
func (*Client) ActiveAlertExists ¶
func (*Client) ActiveAlerts ¶
func (*Client) ActiveAlertsByType ¶
func (*Client) ActiveIssue ¶
func (*Client) ActiveIssues ¶
func (*Client) AddIssueEvents ¶
func (*Client) CloseAlert ¶
func (*Client) CloseAlertsForIssue ¶
func (*Client) CreateAlert ¶
func (*Client) LinkIncident ¶
func (*Client) RoomMaintenanceInfo ¶
func (*Client) RoomsInMaintenance ¶
func (*Client) SetIssueStatus ¶
func (*Client) SetMaintenanceInfo ¶
Click to show internal directories.
Click to hide internal directories.