pingdom

package
v0.0.0-...-b7cbf07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package pingdom provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewAddCheckRequest

func NewAddCheckRequest(server string, body AddCheckJSONRequestBody) (*http.Request, error)

NewAddCheckRequest calls the generic AddCheck builder with application/json body

func NewAddCheckRequestWithBody

func NewAddCheckRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAddCheckRequestWithBody generates requests for AddCheck with any type of body

func NewDeleteAlertingContactsContactidRequest

func NewDeleteAlertingContactsContactidRequest(server string, contactid int) (*http.Request, error)

NewDeleteAlertingContactsContactidRequest generates requests for DeleteAlertingContactsContactid

func NewDeleteAlertingTeamsTeamidRequest

func NewDeleteAlertingTeamsTeamidRequest(server string, teamid int) (*http.Request, error)

NewDeleteAlertingTeamsTeamidRequest generates requests for DeleteAlertingTeamsTeamid

func NewDeleteCheckRequest

func NewDeleteCheckRequest(server string, checkID int64) (*http.Request, error)

NewDeleteCheckRequest generates requests for DeleteCheck

func NewDeleteChecksCheckidRequest

func NewDeleteChecksCheckidRequest(server string, checkid int) (*http.Request, error)

NewDeleteChecksCheckidRequest generates requests for DeleteChecksCheckid

func NewDeleteChecksRequest

func NewDeleteChecksRequest(server string, params *DeleteChecksParams, body DeleteChecksJSONRequestBody) (*http.Request, error)

NewDeleteChecksRequest calls the generic DeleteChecks builder with application/json body

func NewDeleteChecksRequestWithBody

func NewDeleteChecksRequestWithBody(server string, params *DeleteChecksParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteChecksRequestWithBody generates requests for DeleteChecks with any type of body

func NewDeleteMaintenanceIdRequest

func NewDeleteMaintenanceIdRequest(server string, id MaintenanceId) (*http.Request, error)

NewDeleteMaintenanceIdRequest generates requests for DeleteMaintenanceId

func NewDeleteMaintenanceOccurrencesIdRequest

func NewDeleteMaintenanceOccurrencesIdRequest(server string, id MaintenanceOccurrencesId) (*http.Request, error)

NewDeleteMaintenanceOccurrencesIdRequest generates requests for DeleteMaintenanceOccurrencesId

func NewDeleteMaintenanceOccurrencesRequest

func NewDeleteMaintenanceOccurrencesRequest(server string, params *DeleteMaintenanceOccurrencesParams) (*http.Request, error)

NewDeleteMaintenanceOccurrencesRequest generates requests for DeleteMaintenanceOccurrences

func NewDeleteMaintenanceRequest

func NewDeleteMaintenanceRequest(server string, params *DeleteMaintenanceParams) (*http.Request, error)

NewDeleteMaintenanceRequest generates requests for DeleteMaintenance

func NewGetActionsRequest

func NewGetActionsRequest(server string, params *GetActionsParams) (*http.Request, error)

NewGetActionsRequest generates requests for GetActions

func NewGetAlertingContactsContactidRequest

func NewGetAlertingContactsContactidRequest(server string, contactid int) (*http.Request, error)

NewGetAlertingContactsContactidRequest generates requests for GetAlertingContactsContactid

func NewGetAlertingContactsRequest

func NewGetAlertingContactsRequest(server string) (*http.Request, error)

NewGetAlertingContactsRequest generates requests for GetAlertingContacts

func NewGetAlertingTeamsRequest

func NewGetAlertingTeamsRequest(server string) (*http.Request, error)

NewGetAlertingTeamsRequest generates requests for GetAlertingTeams

func NewGetAlertingTeamsTeamidRequest

func NewGetAlertingTeamsTeamidRequest(server string, teamid int) (*http.Request, error)

NewGetAlertingTeamsTeamidRequest generates requests for GetAlertingTeamsTeamid

func NewGetAllChecksRequest

func NewGetAllChecksRequest(server string, params *GetAllChecksParams) (*http.Request, error)

NewGetAllChecksRequest generates requests for GetAllChecks

func NewGetAnalysisCheckidAnalysisidRequest

func NewGetAnalysisCheckidAnalysisidRequest(server string, checkid AnalysisCheckid, analysisid AnalysisAnalysisid) (*http.Request, error)

NewGetAnalysisCheckidAnalysisidRequest generates requests for GetAnalysisCheckidAnalysisid

func NewGetAnalysisCheckidRequest

func NewGetAnalysisCheckidRequest(server string, checkid AnalysisCheckid, params *GetAnalysisCheckidParams) (*http.Request, error)

NewGetAnalysisCheckidRequest generates requests for GetAnalysisCheckid

func NewGetCheckReportPerformanceRequest

func NewGetCheckReportPerformanceRequest(server string, checkId int64, params *GetCheckReportPerformanceParams) (*http.Request, error)

NewGetCheckReportPerformanceRequest generates requests for GetCheckReportPerformance

func NewGetCheckReportStatusAllRequest

func NewGetCheckReportStatusAllRequest(server string, params *GetCheckReportStatusAllParams) (*http.Request, error)

NewGetCheckReportStatusAllRequest generates requests for GetCheckReportStatusAll

func NewGetCheckReportStatusRequest

func NewGetCheckReportStatusRequest(server string, checkId int64, params *GetCheckReportStatusParams) (*http.Request, error)

NewGetCheckReportStatusRequest generates requests for GetCheckReportStatus

func NewGetCheckRequest

func NewGetCheckRequest(server string, checkID int64, params *GetCheckParams) (*http.Request, error)

NewGetCheckRequest generates requests for GetCheck

func NewGetChecksCheckidRequest

func NewGetChecksCheckidRequest(server string, checkid int, params *GetChecksCheckidParams) (*http.Request, error)

NewGetChecksCheckidRequest generates requests for GetChecksCheckid

func NewGetChecksRequest

func NewGetChecksRequest(server string, params *GetChecksParams) (*http.Request, error)

NewGetChecksRequest generates requests for GetChecks

func NewGetCreditsRequest

func NewGetCreditsRequest(server string) (*http.Request, error)

NewGetCreditsRequest generates requests for GetCredits

func NewGetMaintenanceIdRequest

func NewGetMaintenanceIdRequest(server string, id MaintenanceId) (*http.Request, error)

NewGetMaintenanceIdRequest generates requests for GetMaintenanceId

func NewGetMaintenanceOccurrencesIdRequest

func NewGetMaintenanceOccurrencesIdRequest(server string, id MaintenanceOccurrencesId) (*http.Request, error)

NewGetMaintenanceOccurrencesIdRequest generates requests for GetMaintenanceOccurrencesId

func NewGetMaintenanceOccurrencesRequest

func NewGetMaintenanceOccurrencesRequest(server string, params *GetMaintenanceOccurrencesParams) (*http.Request, error)

NewGetMaintenanceOccurrencesRequest generates requests for GetMaintenanceOccurrences

func NewGetMaintenanceRequest

func NewGetMaintenanceRequest(server string, params *GetMaintenanceParams) (*http.Request, error)

NewGetMaintenanceRequest generates requests for GetMaintenance

func NewGetProbesRequest

func NewGetProbesRequest(server string, params *GetProbesParams) (*http.Request, error)

NewGetProbesRequest generates requests for GetProbes

func NewGetReferenceRequest

func NewGetReferenceRequest(server string) (*http.Request, error)

NewGetReferenceRequest generates requests for GetReference

func NewGetResultsCheckidRequest

func NewGetResultsCheckidRequest(server string, checkid ResultsCheckid, params *GetResultsCheckidParams) (*http.Request, error)

NewGetResultsCheckidRequest generates requests for GetResultsCheckid

func NewGetSingleRequest

func NewGetSingleRequest(server string, params *GetSingleParams) (*http.Request, error)

NewGetSingleRequest generates requests for GetSingle

func NewGetSummaryAverageCheckidRequest

func NewGetSummaryAverageCheckidRequest(server string, checkid SummaryAverageCheckid, params *GetSummaryAverageCheckidParams) (*http.Request, error)

NewGetSummaryAverageCheckidRequest generates requests for GetSummaryAverageCheckid

func NewGetSummaryHoursofdayCheckidRequest

func NewGetSummaryHoursofdayCheckidRequest(server string, checkid SummaryHoursofdayCheckid, params *GetSummaryHoursofdayCheckidParams) (*http.Request, error)

NewGetSummaryHoursofdayCheckidRequest generates requests for GetSummaryHoursofdayCheckid

func NewGetSummaryOutageCheckidRequest

func NewGetSummaryOutageCheckidRequest(server string, checkid SummaryOutageCheckid, params *GetSummaryOutageCheckidParams) (*http.Request, error)

NewGetSummaryOutageCheckidRequest generates requests for GetSummaryOutageCheckid

func NewGetSummaryPerformanceCheckidRequest

func NewGetSummaryPerformanceCheckidRequest(server string, checkid SummaryPerformanceCheckid, params *GetSummaryPerformanceCheckidParams) (*http.Request, error)

NewGetSummaryPerformanceCheckidRequest generates requests for GetSummaryPerformanceCheckid

func NewGetSummaryProbesCheckidRequest

func NewGetSummaryProbesCheckidRequest(server string, checkid SummaryProbesCheckid, params *GetSummaryProbesCheckidParams) (*http.Request, error)

NewGetSummaryProbesCheckidRequest generates requests for GetSummaryProbesCheckid

func NewGetTracerouteRequest

func NewGetTracerouteRequest(server string, params *GetTracerouteParams) (*http.Request, error)

NewGetTracerouteRequest generates requests for GetTraceroute

func NewModifyCheckRequest

func NewModifyCheckRequest(server string, checkID int64, body ModifyCheckJSONRequestBody) (*http.Request, error)

NewModifyCheckRequest calls the generic ModifyCheck builder with application/json body

func NewModifyCheckRequestWithBody

func NewModifyCheckRequestWithBody(server string, checkID int64, contentType string, body io.Reader) (*http.Request, error)

NewModifyCheckRequestWithBody generates requests for ModifyCheck with any type of body

func NewPostAlertingContactsRequest

func NewPostAlertingContactsRequest(server string, body PostAlertingContactsJSONRequestBody) (*http.Request, error)

NewPostAlertingContactsRequest calls the generic PostAlertingContacts builder with application/json body

func NewPostAlertingContactsRequestWithBody

func NewPostAlertingContactsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostAlertingContactsRequestWithBody generates requests for PostAlertingContacts with any type of body

func NewPostAlertingTeamsRequest

func NewPostAlertingTeamsRequest(server string, body PostAlertingTeamsJSONRequestBody) (*http.Request, error)

NewPostAlertingTeamsRequest calls the generic PostAlertingTeams builder with application/json body

func NewPostAlertingTeamsRequestWithBody

func NewPostAlertingTeamsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostAlertingTeamsRequestWithBody generates requests for PostAlertingTeams with any type of body

func NewPostChecksRequest

func NewPostChecksRequest(server string, body PostChecksJSONRequestBody) (*http.Request, error)

NewPostChecksRequest calls the generic PostChecks builder with application/json body

func NewPostChecksRequestWithBody

func NewPostChecksRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostChecksRequestWithBody generates requests for PostChecks with any type of body

func NewPostChecksRequestWithFormdataBody

func NewPostChecksRequestWithFormdataBody(server string, body PostChecksFormdataRequestBody) (*http.Request, error)

NewPostChecksRequestWithFormdataBody calls the generic PostChecks builder with application/x-www-form-urlencoded body

func NewPostMaintenanceRequest

func NewPostMaintenanceRequest(server string, body PostMaintenanceJSONRequestBody) (*http.Request, error)

NewPostMaintenanceRequest calls the generic PostMaintenance builder with application/json body

func NewPostMaintenanceRequestWithBody

func NewPostMaintenanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostMaintenanceRequestWithBody generates requests for PostMaintenance with any type of body

func NewPostMaintenanceRequestWithFormdataBody

func NewPostMaintenanceRequestWithFormdataBody(server string, body PostMaintenanceFormdataRequestBody) (*http.Request, error)

NewPostMaintenanceRequestWithFormdataBody calls the generic PostMaintenance builder with application/x-www-form-urlencoded body

func NewPutAlertingContactsContactidRequest

func NewPutAlertingContactsContactidRequest(server string, contactid int, body PutAlertingContactsContactidJSONRequestBody) (*http.Request, error)

NewPutAlertingContactsContactidRequest calls the generic PutAlertingContactsContactid builder with application/json body

func NewPutAlertingContactsContactidRequestWithBody

func NewPutAlertingContactsContactidRequestWithBody(server string, contactid int, contentType string, body io.Reader) (*http.Request, error)

NewPutAlertingContactsContactidRequestWithBody generates requests for PutAlertingContactsContactid with any type of body

func NewPutAlertingTeamsTeamidRequest

func NewPutAlertingTeamsTeamidRequest(server string, teamid int, body PutAlertingTeamsTeamidJSONRequestBody) (*http.Request, error)

NewPutAlertingTeamsTeamidRequest calls the generic PutAlertingTeamsTeamid builder with application/json body

func NewPutAlertingTeamsTeamidRequestWithBody

func NewPutAlertingTeamsTeamidRequestWithBody(server string, teamid int, contentType string, body io.Reader) (*http.Request, error)

NewPutAlertingTeamsTeamidRequestWithBody generates requests for PutAlertingTeamsTeamid with any type of body

func NewPutChecksCheckidRequest

func NewPutChecksCheckidRequest(server string, checkid int, body PutChecksCheckidJSONRequestBody) (*http.Request, error)

NewPutChecksCheckidRequest calls the generic PutChecksCheckid builder with application/json body

func NewPutChecksCheckidRequestWithBody

func NewPutChecksCheckidRequestWithBody(server string, checkid int, contentType string, body io.Reader) (*http.Request, error)

NewPutChecksCheckidRequestWithBody generates requests for PutChecksCheckid with any type of body

func NewPutChecksCheckidRequestWithFormdataBody

func NewPutChecksCheckidRequestWithFormdataBody(server string, checkid int, body PutChecksCheckidFormdataRequestBody) (*http.Request, error)

NewPutChecksCheckidRequestWithFormdataBody calls the generic PutChecksCheckid builder with application/x-www-form-urlencoded body

func NewPutChecksRequest

func NewPutChecksRequest(server string, body PutChecksJSONRequestBody) (*http.Request, error)

NewPutChecksRequest calls the generic PutChecks builder with application/json body

func NewPutChecksRequestWithBody

func NewPutChecksRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutChecksRequestWithBody generates requests for PutChecks with any type of body

func NewPutChecksRequestWithFormdataBody

func NewPutChecksRequestWithFormdataBody(server string, body PutChecksFormdataRequestBody) (*http.Request, error)

NewPutChecksRequestWithFormdataBody calls the generic PutChecks builder with application/x-www-form-urlencoded body

func NewPutMaintenanceIdRequest

func NewPutMaintenanceIdRequest(server string, id MaintenanceId, body PutMaintenanceIdJSONRequestBody) (*http.Request, error)

NewPutMaintenanceIdRequest calls the generic PutMaintenanceId builder with application/json body

func NewPutMaintenanceIdRequestWithBody

func NewPutMaintenanceIdRequestWithBody(server string, id MaintenanceId, contentType string, body io.Reader) (*http.Request, error)

NewPutMaintenanceIdRequestWithBody generates requests for PutMaintenanceId with any type of body

func NewPutMaintenanceIdRequestWithFormdataBody

func NewPutMaintenanceIdRequestWithFormdataBody(server string, id MaintenanceId, body PutMaintenanceIdFormdataRequestBody) (*http.Request, error)

NewPutMaintenanceIdRequestWithFormdataBody calls the generic PutMaintenanceId builder with application/x-www-form-urlencoded body

func NewPutMaintenanceOccurrencesIdRequest

func NewPutMaintenanceOccurrencesIdRequest(server string, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdJSONRequestBody) (*http.Request, error)

NewPutMaintenanceOccurrencesIdRequest calls the generic PutMaintenanceOccurrencesId builder with application/json body

func NewPutMaintenanceOccurrencesIdRequestWithBody

func NewPutMaintenanceOccurrencesIdRequestWithBody(server string, id MaintenanceOccurrencesId, contentType string, body io.Reader) (*http.Request, error)

NewPutMaintenanceOccurrencesIdRequestWithBody generates requests for PutMaintenanceOccurrencesId with any type of body

func NewPutMaintenanceOccurrencesIdRequestWithFormdataBody

func NewPutMaintenanceOccurrencesIdRequestWithFormdataBody(server string, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdFormdataRequestBody) (*http.Request, error)

NewPutMaintenanceOccurrencesIdRequestWithFormdataBody calls the generic PutMaintenanceOccurrencesId builder with application/x-www-form-urlencoded body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func RegisterHandlers

func RegisterHandlers(router EchoRouter, si ServerInterface)

RegisterHandlers adds each server route to the EchoRouter.

func RegisterHandlersWithBaseURL

func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)

Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

Types

type AGCM

type AGCM = []struct {
	// AgcmId Contact target's agcm id
	AgcmId *string `json:"agcm_id,omitempty"`

	// Severity Contact target's severity level
	Severity *string `json:"severity,omitempty"`
}

AGCM defines model for AGCM.

type APNS

type APNS = []struct {
	// ApnsDevice Contact target's apns
	ApnsDevice *string `json:"apns_device,omitempty"`

	// DeviceName Contact targets's device name
	DeviceName *string `json:"device_name,omitempty"`

	// Severity Contact target's severity level
	Severity *string `json:"severity,omitempty"`
}

APNS defines model for APNS.

type ActionsAlertsEntry

type ActionsAlertsEntry struct {
	Actions *struct {
		// Alerts Alert entry
		Alerts *[]struct {
			// Charged True if your account was charged for this message
			Charged *string `json:"charged,omitempty"`

			// Checkid Identifier of alerted user
			Checkid *string `json:"checkid,omitempty"`

			// Messagefull Full message body
			Messagefull *string `json:"messagefull,omitempty"`

			// Messageshort Short description of message
			Messageshort *string `json:"messageshort,omitempty"`

			// Sentto Target address, phone number etc
			Sentto *string `json:"sentto,omitempty"`

			// Status Alert status
			Status *ActionsAlertsEntryActionsAlertsStatus `json:"status,omitempty"`

			// Time Time of alert generation. Format UNIX time
			Time *string `json:"time,omitempty"`

			// Userid Identifier of alerted user
			Userid *string `json:"userid,omitempty"`

			// Username Name of alerted user
			Username *string `json:"username,omitempty"`

			// Via Alert medium. apns - iphone, agcm - android
			Via *ActionsAlertsEntryActionsAlertsVia `json:"via,omitempty"`
		} `json:"alerts,omitempty"`
	} `json:"actions,omitempty"`
}

ActionsAlertsEntry defines model for actions_alerts_entry.

type ActionsAlertsEntryActionsAlertsStatus

type ActionsAlertsEntryActionsAlertsStatus string

ActionsAlertsEntryActionsAlertsStatus Alert status

const (
	Delivered    ActionsAlertsEntryActionsAlertsStatus = "delivered"
	Error        ActionsAlertsEntryActionsAlertsStatus = "error"
	Nocredits    ActionsAlertsEntryActionsAlertsStatus = "nocredits"
	Notdelivered ActionsAlertsEntryActionsAlertsStatus = "notdelivered"
	Sent         ActionsAlertsEntryActionsAlertsStatus = "sent"
)

Defines values for ActionsAlertsEntryActionsAlertsStatus.

type ActionsAlertsEntryActionsAlertsVia

type ActionsAlertsEntryActionsAlertsVia string

ActionsAlertsEntryActionsAlertsVia Alert medium. apns - iphone, agcm - android

Defines values for ActionsAlertsEntryActionsAlertsVia.

type ActionsCheckids

type ActionsCheckids = string

ActionsCheckids defines model for actions_checkids.

type ActionsFrom

type ActionsFrom = int

ActionsFrom defines model for actions_from.

type ActionsLimit

type ActionsLimit = int

ActionsLimit defines model for actions_limit.

type ActionsOffset

type ActionsOffset = int

ActionsOffset defines model for actions_offset.

type ActionsStatus

type ActionsStatus = string

ActionsStatus defines model for actions_status.

type ActionsTo

type ActionsTo = int

ActionsTo defines model for actions_to.

type ActionsUserids

type ActionsUserids = string

ActionsUserids defines model for actions_userids.

type ActionsVia

type ActionsVia = string

ActionsVia defines model for actions_via.

type AddCheckJSONRequestBody

type AddCheckJSONRequestBody = CheckWithoutID

AddCheckJSONRequestBody defines body for AddCheck for application/json ContentType.

type AddCheckResponse

type AddCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CheckAddedResponse
}

func ParseAddCheckResponse

func ParseAddCheckResponse(rsp *http.Response) (*AddCheckResponse, error)

ParseAddCheckResponse parses an HTTP response from a AddCheckWithResponse call

func (AddCheckResponse) Status

func (r AddCheckResponse) Status() string

Status returns HTTPResponse.Status

func (AddCheckResponse) StatusCode

func (r AddCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AlertingTeamID

type AlertingTeamID struct {
	// Id Team identifier
	Id      *int       `json:"id,omitempty"`
	Members *[]Members `json:"members,omitempty"`

	// Name Team name
	Name *string `json:"name,omitempty"`
}

AlertingTeamID defines model for AlertingTeam_ID.

type AlertingTeams

type AlertingTeams struct {
	// Id Team identifier
	Id      *int       `json:"id,omitempty"`
	Members *[]Members `json:"members,omitempty"`

	// Name Team name
	Name *string `json:"name,omitempty"`
}

AlertingTeams defines model for AlertingTeams.

type AnalysisAnalysisid

type AnalysisAnalysisid = int

AnalysisAnalysisid defines model for analysis_analysisid.

type AnalysisCheckid

type AnalysisCheckid = int

AnalysisCheckid defines model for analysis_checkid.

type AnalysisFrom

type AnalysisFrom = int

AnalysisFrom defines model for analysis_from.

type AnalysisLimit

type AnalysisLimit = int

AnalysisLimit defines model for analysis_limit.

type AnalysisOffset

type AnalysisOffset = int

AnalysisOffset defines model for analysis_offset.

type AnalysisRespAttrs

type AnalysisRespAttrs struct {
	Analysis *[]struct {
		// Id Analysis id
		Id *int `json:"id,omitempty"`

		// Timeconfirmtest Time of the confirmation test that performed the error analysis
		Timeconfirmtest *int `json:"timeconfirmtest,omitempty"`

		// Timefirsttest Time of test that initiated the confirmation test
		Timefirsttest *int `json:"timefirsttest,omitempty"`
	} `json:"analysis,omitempty"`
}

AnalysisRespAttrs defines model for analysis_resp_attrs.

type AnalysisTo

type AnalysisTo = int

AnalysisTo defines model for analysis_to.

type AverageResponse

type AverageResponse = int64

AverageResponse Average response times in milliseconds

type Check

type Check struct {
	// Created Creating time. Format is UNIX timestamp
	Created *int `json:"created,omitempty"`

	// Hostname Target host
	Hostname *string `json:"hostname,omitempty"`
	Id       *int    `json:"id,omitempty"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
	Lastdownend *int `json:"lastdownend,omitempty"`

	// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
	Lastdownstart *int `json:"lastdownstart,omitempty"`

	// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
	Lasterrortime *int `json:"lasterrortime,omitempty"`

	// Lastresponsetime Response time (in milliseconds) of last test.
	Lastresponsetime *int `json:"lastresponsetime,omitempty"`

	// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
	Lasttesttime *int    `json:"lasttesttime,omitempty"`
	Name         *string `json:"name,omitempty"`

	// Resolution How often should the check be tested? (minutes)
	Resolution *int         `json:"resolution,omitempty"`
	Status     *CheckStatus `json:"status,omitempty"`

	// Tags List of tags for check
	Tags *[]Tag `json:"tags,omitempty"`
}

Check defines model for Check.

type CheckAddedResponse

type CheckAddedResponse = CheckSimple

CheckAddedResponse defines model for checkAddedResponse.

type CheckDeletedResponse

type CheckDeletedResponse struct {
	Message *string `json:"message,omitempty"`
}

CheckDeletedResponse defines model for checkDeletedResponse.

type CheckDetailed

type CheckDetailed = CheckWithoutIDGET

CheckDetailed CheckWithoutIDGET is a struct describing a TMS check data common for displaying a check

type CheckGeneral

type CheckGeneral struct {
	// Active Check status: active or inactive
	Active *bool `json:"active,omitempty"`

	// CreatedAt Timestamp when the check was created
	CreatedAt *int64 `json:"created_at,omitempty"`

	// Id Id of the check
	CheckID *int64 `json:"id,omitempty"`

	// Interval TMS test intervals in minutes. Allowed intervals: 5,10,20,60,720,1440. The interval you're allowed to set may vary depending on your current plan.
	Interval *int64 `json:"interval,omitempty"`

	// LastDowntimeEnd Timestamp when the last downtime ended. This field is optional
	LastDowntimeEnd *int64 `json:"last_downtime_end,omitempty"`

	// LastDowntimeStart Timestamp when the last downtime started. This field is optional
	LastDowntimeStart *int64 `json:"last_downtime_start,omitempty"`

	// ModifiedAt Timestamp when the check was modified
	ModifiedAt *int64 `json:"modified_at,omitempty"`

	// Name Name of the check
	Name *string `json:"name,omitempty"`

	// Region Name of the region where the check is executed. Supported regions: us-east, us-west, eu, au
	Region *string `json:"region,omitempty"`

	// Status Whether the check is passing or failing at the moment (successful, failing, unknown)
	Status *string `json:"status,omitempty"`

	// Tags List of tags for a check. The tag name may contain the characters 'A-Z', 'a-z', '0-9', '_' and '-'. The maximum length of a tag is 64 characters.
	Tags *[]string `json:"tags,omitempty"`

	// Type Type of transaction check: "script" for regular TMS checks and "recording" for checks made using the Transaction Recorder
	Type *CheckGeneralType `json:"type,omitempty"`
}

CheckGeneral defines model for CheckGeneral.

type CheckGeneralType

type CheckGeneralType string

CheckGeneralType Type of transaction check: "script" for regular TMS checks and "recording" for checks made using the Transaction Recorder

const (
	CheckGeneralTypeRecording CheckGeneralType = "recording"
	CheckGeneralTypeScript    CheckGeneralType = "script"
)

Defines values for CheckGeneralType.

type CheckModifiedResponse

type CheckModifiedResponse = CheckWithoutIDGET

CheckModifiedResponse CheckWithoutIDGET is a struct describing a TMS check data common for displaying a check

type CheckSimple

type CheckSimple struct {
	// Id Id of the check
	CheckID *int64 `json:"id,omitempty"`

	// Name Name of the check
	Name *string `json:"name,omitempty"`
}

CheckSimple defines model for CheckSimple.

type CheckStatus

type CheckStatus string

CheckStatus defines model for Check.Status.

const (
	CheckStatusDown            CheckStatus = "down"
	CheckStatusPaused          CheckStatus = "paused"
	CheckStatusUnconfirmedDown CheckStatus = "unconfirmed_down"
	CheckStatusUnknown         CheckStatus = "unknown"
	CheckStatusUp              CheckStatus = "up"
)

Defines values for CheckStatus.

type CheckStatusID

type CheckStatusID struct {
	// CheckId ID of the check
	CheckId *PropertyCheckID `json:"check_id,omitempty"`

	// Name Name of the check
	Name *PropertyCheckName `json:"name,omitempty"`

	// States Intervals when the check had a specific status (`up`/`down`).
	States *[]State `json:"states,omitempty"`
}

CheckStatusID defines model for CheckStatus.

type CheckWithStringType

type CheckWithStringType = Check

CheckWithStringType defines model for CheckWithStringType.

type CheckWithoutID

type CheckWithoutID struct {
	// Active Check status: active or inactive
	Active *bool `json:"active,omitempty"`

	// ContactIds Contacts to alert
	ContactIDs *[]int64 `json:"contact_ids,omitempty"`

	// CustomMessage Custom message that is part of the email and webhook alerts
	CustomMessage *string `json:"custom_message,omitempty"`

	// IntegrationIds Integration identifiers.
	IntegrationIDs *[]int64 `json:"integration_ids,omitempty"`

	// Interval TMS test intervals in minutes. Allowed intervals: 5,10,20,60,720,1440. The interval you're allowed to set may vary depending on your current plan.
	Interval *int64 `json:"interval,omitempty"`

	// Metadata Recording related metadata. Used for recordings only. Modify with caution!
	Metadata *Metadata `json:"metadata,omitempty"`

	// Name Name of the check
	Name string `json:"name"`

	// Region Name of the region where the check is executed. Supported regions: us-east, us-west, eu, au
	Region *string `json:"region,omitempty"`

	// SendNotificationWhenDown Send notification when down X times
	NotifyAfter *int64 `json:"send_notification_when_down,omitempty"`

	// SeverityLevel Check importance- how important are the alerts when the check fails. Allowed values: low, high
	SeverityLevel *string `json:"severity_level,omitempty"`

	// Steps steps to be executed as part of the check
	Steps []Step `json:"steps"`

	// Tags List of tags for a check. The tag name may contain the characters 'A-Z', 'a-z', '0-9', '_' and '-'. The maximum length of a tag is 64 characters.
	Tags *[]string `json:"tags,omitempty"`

	// TeamIds Teams to alert
	TeamIDs *[]int64 `json:"team_ids,omitempty"`
}

CheckWithoutID CheckWithoutID is a struct describing a TMS check data common for creating a check

type CheckWithoutIDGET

type CheckWithoutIDGET struct {
	// Active Check status - active or inactive
	Active *bool `json:"active,omitempty"`

	// ContactIds Contacts to alert
	ContactIDs *[]int64 `json:"contact_ids,omitempty"`

	// CreatedAt Timestamp when the check was created
	CreatedAt *int64 `json:"created_at,omitempty"`

	// CustomMessage Custom message that is part of the email and webhook alerts
	CustomMessage *string `json:"custom_message,omitempty"`

	// IntegrationIds Integration identifiers.
	IntegrationIDs *[]int64 `json:"integration_ids,omitempty"`

	// Interval TMS test intervals in minutes. Allowed intervals: 5,10,20,60,720,1440. The interval you're allowed to set may vary depending on your current plan.
	Interval *int64 `json:"interval,omitempty"`

	// LastDowntimeEnd Timestamp when the last downtime ended. This field is optional
	LastDowntimeEnd *int64 `json:"last_downtime_end,omitempty"`

	// LastDowntimeStart Timestamp when the last downtime started. This field is optional
	LastDowntimeStart *int64 `json:"last_downtime_start,omitempty"`

	// Metadata Recording related metadata. Used for recordings only. Modify with caution!
	Metadata *MetadataGET `json:"metadata,omitempty"`

	// ModifiedAt Timestamp when the check was modified
	ModifiedAt *int64 `json:"modified_at,omitempty"`

	// Name Name of the check
	Name *string `json:"name,omitempty"`

	// Region Name of the region where the check is executed. Supported regions: us-east, us-west, eu, au
	Region *string `json:"region,omitempty"`

	// SendNotificationWhenDown Send notification when down X times
	NotifyAfter *int64 `json:"send_notification_when_down,omitempty"`

	// SeverityLevel Check importance- how important are the alerts when the check fails. Allowed values: low, high
	SeverityLevel *string `json:"severity_level,omitempty"`

	// Status Whether the check is passing or failing at the moment (successful, failing, unknown)
	Status *string `json:"status,omitempty"`

	// Steps steps to be executed as part of the check
	Steps *[]Step `json:"steps,omitempty"`

	// Tags List of tags for a check. The tag name may contain the characters 'A-Z', 'a-z', '0-9', '_' and '-'. The maximum length of a tag is 64 characters.
	Tags *[]string `json:"tags,omitempty"`

	// TeamIds Teams to alert
	TeamIDs *[]int64 `json:"team_ids,omitempty"`

	// Type Type of transaction check: "script" for regular TMS checks and "recording" for checks made using the Transaction Recorder
	Type *CheckWithoutIDGETType `json:"type,omitempty"`
}

CheckWithoutIDGET CheckWithoutIDGET is a struct describing a TMS check data common for displaying a check

type CheckWithoutIDGETType

type CheckWithoutIDGETType string

CheckWithoutIDGETType Type of transaction check: "script" for regular TMS checks and "recording" for checks made using the Transaction Recorder

const (
	CheckWithoutIDGETTypeRecording CheckWithoutIDGETType = "recording"
	CheckWithoutIDGETTypeScript    CheckWithoutIDGETType = "script"
)

Defines values for CheckWithoutIDGETType.

type CheckWithoutIDPUT

type CheckWithoutIDPUT struct {
	// Active Check status: active or inactive
	Active *bool `json:"active,omitempty"`

	// ContactIds Contacts to alert
	ContactIDs *[]int64 `json:"contact_ids,omitempty"`

	// CustomMessage Custom message that is part of the email and webhook alerts
	CustomMessage *string `json:"custom_message,omitempty"`

	// IntegrationIds Integration identifiers as a list of integers.
	IntegrationIds *[]int `json:"integration_ids,omitempty"`

	// Interval TMS test intervals in minutes. Allowed intervals: 5,10,20,60,720,1440. The interval you're allowed to set may vary depending on your current plan.
	Interval *int64 `json:"interval,omitempty"`

	// Metadata Recording related metadata. Used for recordings only. Modify with caution!
	Metadata *Metadata `json:"metadata,omitempty"`

	// Name Name of the check
	Name *string `json:"name,omitempty"`

	// Region Name of the region where the check is executed. Supported regions: us-east, us-west, eu, au
	Region *string `json:"region,omitempty"`

	// SendNotificationWhenDown Send notification when down X times
	NotifyAfter *int64 `json:"send_notification_when_down,omitempty"`

	// SeverityLevel Check importance- how important are the alerts when the check fails. Allowed values: low, high
	SeverityLevel *string `json:"severity_level,omitempty"`

	// Steps steps to be executed as part of the check
	Steps *[]Step `json:"steps,omitempty"`

	// Tags List of tags for a check. The tag name may contain the characters 'A-Z', 'a-z', '0-9', '_' and '-'. The maximum length of a tag is 64 characters.
	Tags *[]string `json:"tags,omitempty"`

	// TeamIds Teams to alert
	TeamIDs *[]int64 `json:"team_ids,omitempty"`
}

CheckWithoutIDPUT CheckWithoutIDPUT is a struct describing a TMS check data common for updating a check

type Checks

type Checks struct {
	Checks *[]CheckWithStringType `json:"checks,omitempty"`
	Counts *Counts                `json:"counts,omitempty"`
}

Checks defines model for Checks.

type ChecksAll

type ChecksAll struct {
	Check  *[]CheckGeneral `json:"checks,omitempty"`
	Limit  *uint64         `json:"limit,omitempty"`
	Offset *uint64         `json:"offset,omitempty"`
}

ChecksAll defines model for ChecksAll.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddCheck

func (c *Client) AddCheck(ctx context.Context, body AddCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddCheckWithBody

func (c *Client) AddCheckWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAlertingContactsContactid

func (c *Client) DeleteAlertingContactsContactid(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAlertingTeamsTeamid

func (c *Client) DeleteAlertingTeamsTeamid(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCheck

func (c *Client) DeleteCheck(ctx context.Context, checkID int64, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChecks

func (c *Client) DeleteChecks(ctx context.Context, params *DeleteChecksParams, body DeleteChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChecksCheckid

func (c *Client) DeleteChecksCheckid(ctx context.Context, checkid int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteChecksWithBody

func (c *Client) DeleteChecksWithBody(ctx context.Context, params *DeleteChecksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMaintenance

func (c *Client) DeleteMaintenance(ctx context.Context, params *DeleteMaintenanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMaintenanceId

func (c *Client) DeleteMaintenanceId(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMaintenanceOccurrences

func (c *Client) DeleteMaintenanceOccurrences(ctx context.Context, params *DeleteMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMaintenanceOccurrencesId

func (c *Client) DeleteMaintenanceOccurrencesId(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetActions

func (c *Client) GetActions(ctx context.Context, params *GetActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAlertingContacts

func (c *Client) GetAlertingContacts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAlertingContactsContactid

func (c *Client) GetAlertingContactsContactid(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAlertingTeams

func (c *Client) GetAlertingTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAlertingTeamsTeamid

func (c *Client) GetAlertingTeamsTeamid(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllChecks

func (c *Client) GetAllChecks(ctx context.Context, params *GetAllChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAnalysisCheckid

func (c *Client) GetAnalysisCheckid(ctx context.Context, checkid AnalysisCheckid, params *GetAnalysisCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAnalysisCheckidAnalysisid

func (c *Client) GetAnalysisCheckidAnalysisid(ctx context.Context, checkid AnalysisCheckid, analysisid AnalysisAnalysisid, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCheck

func (c *Client) GetCheck(ctx context.Context, checkID int64, params *GetCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCheckReportPerformance

func (c *Client) GetCheckReportPerformance(ctx context.Context, checkId int64, params *GetCheckReportPerformanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCheckReportStatus

func (c *Client) GetCheckReportStatus(ctx context.Context, checkId int64, params *GetCheckReportStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCheckReportStatusAll

func (c *Client) GetCheckReportStatusAll(ctx context.Context, params *GetCheckReportStatusAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChecks

func (c *Client) GetChecks(ctx context.Context, params *GetChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetChecksCheckid

func (c *Client) GetChecksCheckid(ctx context.Context, checkid int, params *GetChecksCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCredits

func (c *Client) GetCredits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMaintenance

func (c *Client) GetMaintenance(ctx context.Context, params *GetMaintenanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMaintenanceId

func (c *Client) GetMaintenanceId(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMaintenanceOccurrences

func (c *Client) GetMaintenanceOccurrences(ctx context.Context, params *GetMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMaintenanceOccurrencesId

func (c *Client) GetMaintenanceOccurrencesId(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProbes

func (c *Client) GetProbes(ctx context.Context, params *GetProbesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReference

func (c *Client) GetReference(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetResultsCheckid

func (c *Client) GetResultsCheckid(ctx context.Context, checkid ResultsCheckid, params *GetResultsCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSingle

func (c *Client) GetSingle(ctx context.Context, params *GetSingleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSummaryAverageCheckid

func (c *Client) GetSummaryAverageCheckid(ctx context.Context, checkid SummaryAverageCheckid, params *GetSummaryAverageCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSummaryHoursofdayCheckid

func (c *Client) GetSummaryHoursofdayCheckid(ctx context.Context, checkid SummaryHoursofdayCheckid, params *GetSummaryHoursofdayCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSummaryOutageCheckid

func (c *Client) GetSummaryOutageCheckid(ctx context.Context, checkid SummaryOutageCheckid, params *GetSummaryOutageCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSummaryPerformanceCheckid

func (c *Client) GetSummaryPerformanceCheckid(ctx context.Context, checkid SummaryPerformanceCheckid, params *GetSummaryPerformanceCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSummaryProbesCheckid

func (c *Client) GetSummaryProbesCheckid(ctx context.Context, checkid SummaryProbesCheckid, params *GetSummaryProbesCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTraceroute

func (c *Client) GetTraceroute(ctx context.Context, params *GetTracerouteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyCheck

func (c *Client) ModifyCheck(ctx context.Context, checkID int64, body ModifyCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyCheckWithBody

func (c *Client) ModifyCheckWithBody(ctx context.Context, checkID int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAlertingContacts

func (c *Client) PostAlertingContacts(ctx context.Context, body PostAlertingContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAlertingContactsWithBody

func (c *Client) PostAlertingContactsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAlertingTeams

func (c *Client) PostAlertingTeams(ctx context.Context, body PostAlertingTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAlertingTeamsWithBody

func (c *Client) PostAlertingTeamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChecks

func (c *Client) PostChecks(ctx context.Context, body PostChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChecksWithBody

func (c *Client) PostChecksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostChecksWithFormdataBody

func (c *Client) PostChecksWithFormdataBody(ctx context.Context, body PostChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMaintenance

func (c *Client) PostMaintenance(ctx context.Context, body PostMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMaintenanceWithBody

func (c *Client) PostMaintenanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostMaintenanceWithFormdataBody

func (c *Client) PostMaintenanceWithFormdataBody(ctx context.Context, body PostMaintenanceFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutAlertingContactsContactid

func (c *Client) PutAlertingContactsContactid(ctx context.Context, contactid int, body PutAlertingContactsContactidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutAlertingContactsContactidWithBody

func (c *Client) PutAlertingContactsContactidWithBody(ctx context.Context, contactid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutAlertingTeamsTeamid

func (c *Client) PutAlertingTeamsTeamid(ctx context.Context, teamid int, body PutAlertingTeamsTeamidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutAlertingTeamsTeamidWithBody

func (c *Client) PutAlertingTeamsTeamidWithBody(ctx context.Context, teamid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutChecks

func (c *Client) PutChecks(ctx context.Context, body PutChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutChecksCheckid

func (c *Client) PutChecksCheckid(ctx context.Context, checkid int, body PutChecksCheckidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutChecksCheckidWithBody

func (c *Client) PutChecksCheckidWithBody(ctx context.Context, checkid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutChecksCheckidWithFormdataBody

func (c *Client) PutChecksCheckidWithFormdataBody(ctx context.Context, checkid int, body PutChecksCheckidFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutChecksWithBody

func (c *Client) PutChecksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutChecksWithFormdataBody

func (c *Client) PutChecksWithFormdataBody(ctx context.Context, body PutChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutMaintenanceId

func (c *Client) PutMaintenanceId(ctx context.Context, id MaintenanceId, body PutMaintenanceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutMaintenanceIdWithBody

func (c *Client) PutMaintenanceIdWithBody(ctx context.Context, id MaintenanceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutMaintenanceIdWithFormdataBody

func (c *Client) PutMaintenanceIdWithFormdataBody(ctx context.Context, id MaintenanceId, body PutMaintenanceIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutMaintenanceOccurrencesId

func (c *Client) PutMaintenanceOccurrencesId(ctx context.Context, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutMaintenanceOccurrencesIdWithBody

func (c *Client) PutMaintenanceOccurrencesIdWithBody(ctx context.Context, id MaintenanceOccurrencesId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutMaintenanceOccurrencesIdWithFormdataBody

func (c *Client) PutMaintenanceOccurrencesIdWithFormdataBody(ctx context.Context, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetActions request
	GetActions(ctx context.Context, params *GetActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAlertingContacts request
	GetAlertingContacts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAlertingContactsWithBody request with any body
	PostAlertingContactsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAlertingContacts(ctx context.Context, body PostAlertingContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAlertingContactsContactid request
	DeleteAlertingContactsContactid(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAlertingContactsContactid request
	GetAlertingContactsContactid(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutAlertingContactsContactidWithBody request with any body
	PutAlertingContactsContactidWithBody(ctx context.Context, contactid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutAlertingContactsContactid(ctx context.Context, contactid int, body PutAlertingContactsContactidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAlertingTeams request
	GetAlertingTeams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAlertingTeamsWithBody request with any body
	PostAlertingTeamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostAlertingTeams(ctx context.Context, body PostAlertingTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAlertingTeamsTeamid request
	DeleteAlertingTeamsTeamid(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAlertingTeamsTeamid request
	GetAlertingTeamsTeamid(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutAlertingTeamsTeamidWithBody request with any body
	PutAlertingTeamsTeamidWithBody(ctx context.Context, teamid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutAlertingTeamsTeamid(ctx context.Context, teamid int, body PutAlertingTeamsTeamidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAnalysisCheckid request
	GetAnalysisCheckid(ctx context.Context, checkid AnalysisCheckid, params *GetAnalysisCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAnalysisCheckidAnalysisid request
	GetAnalysisCheckidAnalysisid(ctx context.Context, checkid AnalysisCheckid, analysisid AnalysisAnalysisid, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteChecksWithBody request with any body
	DeleteChecksWithBody(ctx context.Context, params *DeleteChecksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteChecks(ctx context.Context, params *DeleteChecksParams, body DeleteChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChecks request
	GetChecks(ctx context.Context, params *GetChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostChecksWithBody request with any body
	PostChecksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostChecks(ctx context.Context, body PostChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostChecksWithFormdataBody(ctx context.Context, body PostChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutChecksWithBody request with any body
	PutChecksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutChecks(ctx context.Context, body PutChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutChecksWithFormdataBody(ctx context.Context, body PutChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteChecksCheckid request
	DeleteChecksCheckid(ctx context.Context, checkid int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChecksCheckid request
	GetChecksCheckid(ctx context.Context, checkid int, params *GetChecksCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutChecksCheckidWithBody request with any body
	PutChecksCheckidWithBody(ctx context.Context, checkid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutChecksCheckid(ctx context.Context, checkid int, body PutChecksCheckidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutChecksCheckidWithFormdataBody(ctx context.Context, checkid int, body PutChecksCheckidFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCredits request
	GetCredits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMaintenance request
	DeleteMaintenance(ctx context.Context, params *DeleteMaintenanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMaintenance request
	GetMaintenance(ctx context.Context, params *GetMaintenanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostMaintenanceWithBody request with any body
	PostMaintenanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostMaintenance(ctx context.Context, body PostMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostMaintenanceWithFormdataBody(ctx context.Context, body PostMaintenanceFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMaintenanceOccurrences request
	DeleteMaintenanceOccurrences(ctx context.Context, params *DeleteMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMaintenanceOccurrences request
	GetMaintenanceOccurrences(ctx context.Context, params *GetMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMaintenanceOccurrencesId request
	DeleteMaintenanceOccurrencesId(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMaintenanceOccurrencesId request
	GetMaintenanceOccurrencesId(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutMaintenanceOccurrencesIdWithBody request with any body
	PutMaintenanceOccurrencesIdWithBody(ctx context.Context, id MaintenanceOccurrencesId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutMaintenanceOccurrencesId(ctx context.Context, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutMaintenanceOccurrencesIdWithFormdataBody(ctx context.Context, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMaintenanceId request
	DeleteMaintenanceId(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMaintenanceId request
	GetMaintenanceId(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutMaintenanceIdWithBody request with any body
	PutMaintenanceIdWithBody(ctx context.Context, id MaintenanceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutMaintenanceId(ctx context.Context, id MaintenanceId, body PutMaintenanceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutMaintenanceIdWithFormdataBody(ctx context.Context, id MaintenanceId, body PutMaintenanceIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProbes request
	GetProbes(ctx context.Context, params *GetProbesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReference request
	GetReference(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetResultsCheckid request
	GetResultsCheckid(ctx context.Context, checkid ResultsCheckid, params *GetResultsCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSingle request
	GetSingle(ctx context.Context, params *GetSingleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSummaryAverageCheckid request
	GetSummaryAverageCheckid(ctx context.Context, checkid SummaryAverageCheckid, params *GetSummaryAverageCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSummaryHoursofdayCheckid request
	GetSummaryHoursofdayCheckid(ctx context.Context, checkid SummaryHoursofdayCheckid, params *GetSummaryHoursofdayCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSummaryOutageCheckid request
	GetSummaryOutageCheckid(ctx context.Context, checkid SummaryOutageCheckid, params *GetSummaryOutageCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSummaryPerformanceCheckid request
	GetSummaryPerformanceCheckid(ctx context.Context, checkid SummaryPerformanceCheckid, params *GetSummaryPerformanceCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSummaryProbesCheckid request
	GetSummaryProbesCheckid(ctx context.Context, checkid SummaryProbesCheckid, params *GetSummaryProbesCheckidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllChecks request
	GetAllChecks(ctx context.Context, params *GetAllChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddCheckWithBody request with any body
	AddCheckWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddCheck(ctx context.Context, body AddCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCheckReportStatusAll request
	GetCheckReportStatusAll(ctx context.Context, params *GetCheckReportStatusAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCheckReportPerformance request
	GetCheckReportPerformance(ctx context.Context, checkId int64, params *GetCheckReportPerformanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCheckReportStatus request
	GetCheckReportStatus(ctx context.Context, checkId int64, params *GetCheckReportStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCheck request
	DeleteCheck(ctx context.Context, checkID int64, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCheck request
	GetCheck(ctx context.Context, checkID int64, params *GetCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyCheckWithBody request with any body
	ModifyCheckWithBody(ctx context.Context, checkID int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ModifyCheck(ctx context.Context, checkID int64, body ModifyCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTraceroute request
	GetTraceroute(ctx context.Context, params *GetTracerouteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddCheckWithBodyWithResponse

func (c *ClientWithResponses) AddCheckWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCheckResponse, error)

AddCheckWithBodyWithResponse request with arbitrary body returning *AddCheckResponse

func (*ClientWithResponses) AddCheckWithResponse

func (c *ClientWithResponses) AddCheckWithResponse(ctx context.Context, body AddCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCheckResponse, error)

func (*ClientWithResponses) DeleteAlertingContactsContactidWithResponse

func (c *ClientWithResponses) DeleteAlertingContactsContactidWithResponse(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*DeleteAlertingContactsContactidResponse, error)

DeleteAlertingContactsContactidWithResponse request returning *DeleteAlertingContactsContactidResponse

func (*ClientWithResponses) DeleteAlertingTeamsTeamidWithResponse

func (c *ClientWithResponses) DeleteAlertingTeamsTeamidWithResponse(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*DeleteAlertingTeamsTeamidResponse, error)

DeleteAlertingTeamsTeamidWithResponse request returning *DeleteAlertingTeamsTeamidResponse

func (*ClientWithResponses) DeleteCheckWithResponse

func (c *ClientWithResponses) DeleteCheckWithResponse(ctx context.Context, checkID int64, reqEditors ...RequestEditorFn) (*DeleteCheckResponse, error)

DeleteCheckWithResponse request returning *DeleteCheckResponse

func (*ClientWithResponses) DeleteChecksCheckidWithResponse

func (c *ClientWithResponses) DeleteChecksCheckidWithResponse(ctx context.Context, checkid int, reqEditors ...RequestEditorFn) (*DeleteChecksCheckidResponse, error)

DeleteChecksCheckidWithResponse request returning *DeleteChecksCheckidResponse

func (*ClientWithResponses) DeleteChecksWithBodyWithResponse

func (c *ClientWithResponses) DeleteChecksWithBodyWithResponse(ctx context.Context, params *DeleteChecksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteChecksResponse, error)

DeleteChecksWithBodyWithResponse request with arbitrary body returning *DeleteChecksResponse

func (*ClientWithResponses) DeleteChecksWithResponse

func (c *ClientWithResponses) DeleteChecksWithResponse(ctx context.Context, params *DeleteChecksParams, body DeleteChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteChecksResponse, error)

func (*ClientWithResponses) DeleteMaintenanceIdWithResponse

func (c *ClientWithResponses) DeleteMaintenanceIdWithResponse(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*DeleteMaintenanceIdResponse, error)

DeleteMaintenanceIdWithResponse request returning *DeleteMaintenanceIdResponse

func (*ClientWithResponses) DeleteMaintenanceOccurrencesIdWithResponse

func (c *ClientWithResponses) DeleteMaintenanceOccurrencesIdWithResponse(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*DeleteMaintenanceOccurrencesIdResponse, error)

DeleteMaintenanceOccurrencesIdWithResponse request returning *DeleteMaintenanceOccurrencesIdResponse

func (*ClientWithResponses) DeleteMaintenanceOccurrencesWithResponse

func (c *ClientWithResponses) DeleteMaintenanceOccurrencesWithResponse(ctx context.Context, params *DeleteMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*DeleteMaintenanceOccurrencesResponse, error)

DeleteMaintenanceOccurrencesWithResponse request returning *DeleteMaintenanceOccurrencesResponse

func (*ClientWithResponses) DeleteMaintenanceWithResponse

func (c *ClientWithResponses) DeleteMaintenanceWithResponse(ctx context.Context, params *DeleteMaintenanceParams, reqEditors ...RequestEditorFn) (*DeleteMaintenanceResponse, error)

DeleteMaintenanceWithResponse request returning *DeleteMaintenanceResponse

func (*ClientWithResponses) GetActionsWithResponse

func (c *ClientWithResponses) GetActionsWithResponse(ctx context.Context, params *GetActionsParams, reqEditors ...RequestEditorFn) (*GetActionsResponse, error)

GetActionsWithResponse request returning *GetActionsResponse

func (*ClientWithResponses) GetAlertingContactsContactidWithResponse

func (c *ClientWithResponses) GetAlertingContactsContactidWithResponse(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*GetAlertingContactsContactidResponse, error)

GetAlertingContactsContactidWithResponse request returning *GetAlertingContactsContactidResponse

func (*ClientWithResponses) GetAlertingContactsWithResponse

func (c *ClientWithResponses) GetAlertingContactsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingContactsResponse, error)

GetAlertingContactsWithResponse request returning *GetAlertingContactsResponse

func (*ClientWithResponses) GetAlertingTeamsTeamidWithResponse

func (c *ClientWithResponses) GetAlertingTeamsTeamidWithResponse(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*GetAlertingTeamsTeamidResponse, error)

GetAlertingTeamsTeamidWithResponse request returning *GetAlertingTeamsTeamidResponse

func (*ClientWithResponses) GetAlertingTeamsWithResponse

func (c *ClientWithResponses) GetAlertingTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingTeamsResponse, error)

GetAlertingTeamsWithResponse request returning *GetAlertingTeamsResponse

func (*ClientWithResponses) GetAllChecksWithResponse

func (c *ClientWithResponses) GetAllChecksWithResponse(ctx context.Context, params *GetAllChecksParams, reqEditors ...RequestEditorFn) (*GetAllChecksResponse, error)

GetAllChecksWithResponse request returning *GetAllChecksResponse

func (*ClientWithResponses) GetAnalysisCheckidAnalysisidWithResponse

func (c *ClientWithResponses) GetAnalysisCheckidAnalysisidWithResponse(ctx context.Context, checkid AnalysisCheckid, analysisid AnalysisAnalysisid, reqEditors ...RequestEditorFn) (*GetAnalysisCheckidAnalysisidResponse, error)

GetAnalysisCheckidAnalysisidWithResponse request returning *GetAnalysisCheckidAnalysisidResponse

func (*ClientWithResponses) GetAnalysisCheckidWithResponse

func (c *ClientWithResponses) GetAnalysisCheckidWithResponse(ctx context.Context, checkid AnalysisCheckid, params *GetAnalysisCheckidParams, reqEditors ...RequestEditorFn) (*GetAnalysisCheckidResponse, error)

GetAnalysisCheckidWithResponse request returning *GetAnalysisCheckidResponse

func (*ClientWithResponses) GetCheckReportPerformanceWithResponse

func (c *ClientWithResponses) GetCheckReportPerformanceWithResponse(ctx context.Context, checkId int64, params *GetCheckReportPerformanceParams, reqEditors ...RequestEditorFn) (*GetCheckReportPerformanceResponse, error)

GetCheckReportPerformanceWithResponse request returning *GetCheckReportPerformanceResponse

func (*ClientWithResponses) GetCheckReportStatusAllWithResponse

func (c *ClientWithResponses) GetCheckReportStatusAllWithResponse(ctx context.Context, params *GetCheckReportStatusAllParams, reqEditors ...RequestEditorFn) (*GetCheckReportStatusAllResponse, error)

GetCheckReportStatusAllWithResponse request returning *GetCheckReportStatusAllResponse

func (*ClientWithResponses) GetCheckReportStatusWithResponse

func (c *ClientWithResponses) GetCheckReportStatusWithResponse(ctx context.Context, checkId int64, params *GetCheckReportStatusParams, reqEditors ...RequestEditorFn) (*GetCheckReportStatusResponse, error)

GetCheckReportStatusWithResponse request returning *GetCheckReportStatusResponse

func (*ClientWithResponses) GetCheckWithResponse

func (c *ClientWithResponses) GetCheckWithResponse(ctx context.Context, checkID int64, params *GetCheckParams, reqEditors ...RequestEditorFn) (*GetCheckResponse, error)

GetCheckWithResponse request returning *GetCheckResponse

func (*ClientWithResponses) GetChecksCheckidWithResponse

func (c *ClientWithResponses) GetChecksCheckidWithResponse(ctx context.Context, checkid int, params *GetChecksCheckidParams, reqEditors ...RequestEditorFn) (*GetChecksCheckidResponse, error)

GetChecksCheckidWithResponse request returning *GetChecksCheckidResponse

func (*ClientWithResponses) GetChecksWithResponse

func (c *ClientWithResponses) GetChecksWithResponse(ctx context.Context, params *GetChecksParams, reqEditors ...RequestEditorFn) (*GetChecksResponse, error)

GetChecksWithResponse request returning *GetChecksResponse

func (*ClientWithResponses) GetCreditsWithResponse

func (c *ClientWithResponses) GetCreditsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCreditsResponse, error)

GetCreditsWithResponse request returning *GetCreditsResponse

func (*ClientWithResponses) GetMaintenanceIdWithResponse

func (c *ClientWithResponses) GetMaintenanceIdWithResponse(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*GetMaintenanceIdResponse, error)

GetMaintenanceIdWithResponse request returning *GetMaintenanceIdResponse

func (*ClientWithResponses) GetMaintenanceOccurrencesIdWithResponse

func (c *ClientWithResponses) GetMaintenanceOccurrencesIdWithResponse(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*GetMaintenanceOccurrencesIdResponse, error)

GetMaintenanceOccurrencesIdWithResponse request returning *GetMaintenanceOccurrencesIdResponse

func (*ClientWithResponses) GetMaintenanceOccurrencesWithResponse

func (c *ClientWithResponses) GetMaintenanceOccurrencesWithResponse(ctx context.Context, params *GetMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*GetMaintenanceOccurrencesResponse, error)

GetMaintenanceOccurrencesWithResponse request returning *GetMaintenanceOccurrencesResponse

func (*ClientWithResponses) GetMaintenanceWithResponse

func (c *ClientWithResponses) GetMaintenanceWithResponse(ctx context.Context, params *GetMaintenanceParams, reqEditors ...RequestEditorFn) (*GetMaintenanceResponse, error)

GetMaintenanceWithResponse request returning *GetMaintenanceResponse

func (*ClientWithResponses) GetProbesWithResponse

func (c *ClientWithResponses) GetProbesWithResponse(ctx context.Context, params *GetProbesParams, reqEditors ...RequestEditorFn) (*GetProbesResponse, error)

GetProbesWithResponse request returning *GetProbesResponse

func (*ClientWithResponses) GetReferenceWithResponse

func (c *ClientWithResponses) GetReferenceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReferenceResponse, error)

GetReferenceWithResponse request returning *GetReferenceResponse

func (*ClientWithResponses) GetResultsCheckidWithResponse

func (c *ClientWithResponses) GetResultsCheckidWithResponse(ctx context.Context, checkid ResultsCheckid, params *GetResultsCheckidParams, reqEditors ...RequestEditorFn) (*GetResultsCheckidResponse, error)

GetResultsCheckidWithResponse request returning *GetResultsCheckidResponse

func (*ClientWithResponses) GetSingleWithResponse

func (c *ClientWithResponses) GetSingleWithResponse(ctx context.Context, params *GetSingleParams, reqEditors ...RequestEditorFn) (*GetSingleResponse, error)

GetSingleWithResponse request returning *GetSingleResponse

func (*ClientWithResponses) GetSummaryAverageCheckidWithResponse

func (c *ClientWithResponses) GetSummaryAverageCheckidWithResponse(ctx context.Context, checkid SummaryAverageCheckid, params *GetSummaryAverageCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryAverageCheckidResponse, error)

GetSummaryAverageCheckidWithResponse request returning *GetSummaryAverageCheckidResponse

func (*ClientWithResponses) GetSummaryHoursofdayCheckidWithResponse

func (c *ClientWithResponses) GetSummaryHoursofdayCheckidWithResponse(ctx context.Context, checkid SummaryHoursofdayCheckid, params *GetSummaryHoursofdayCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryHoursofdayCheckidResponse, error)

GetSummaryHoursofdayCheckidWithResponse request returning *GetSummaryHoursofdayCheckidResponse

func (*ClientWithResponses) GetSummaryOutageCheckidWithResponse

func (c *ClientWithResponses) GetSummaryOutageCheckidWithResponse(ctx context.Context, checkid SummaryOutageCheckid, params *GetSummaryOutageCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryOutageCheckidResponse, error)

GetSummaryOutageCheckidWithResponse request returning *GetSummaryOutageCheckidResponse

func (*ClientWithResponses) GetSummaryPerformanceCheckidWithResponse

func (c *ClientWithResponses) GetSummaryPerformanceCheckidWithResponse(ctx context.Context, checkid SummaryPerformanceCheckid, params *GetSummaryPerformanceCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryPerformanceCheckidResponse, error)

GetSummaryPerformanceCheckidWithResponse request returning *GetSummaryPerformanceCheckidResponse

func (*ClientWithResponses) GetSummaryProbesCheckidWithResponse

func (c *ClientWithResponses) GetSummaryProbesCheckidWithResponse(ctx context.Context, checkid SummaryProbesCheckid, params *GetSummaryProbesCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryProbesCheckidResponse, error)

GetSummaryProbesCheckidWithResponse request returning *GetSummaryProbesCheckidResponse

func (*ClientWithResponses) GetTracerouteWithResponse

func (c *ClientWithResponses) GetTracerouteWithResponse(ctx context.Context, params *GetTracerouteParams, reqEditors ...RequestEditorFn) (*GetTracerouteResponse, error)

GetTracerouteWithResponse request returning *GetTracerouteResponse

func (*ClientWithResponses) ModifyCheckWithBodyWithResponse

func (c *ClientWithResponses) ModifyCheckWithBodyWithResponse(ctx context.Context, checkID int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCheckResponse, error)

ModifyCheckWithBodyWithResponse request with arbitrary body returning *ModifyCheckResponse

func (*ClientWithResponses) ModifyCheckWithResponse

func (c *ClientWithResponses) ModifyCheckWithResponse(ctx context.Context, checkID int64, body ModifyCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCheckResponse, error)

func (*ClientWithResponses) PostAlertingContactsWithBodyWithResponse

func (c *ClientWithResponses) PostAlertingContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAlertingContactsResponse, error)

PostAlertingContactsWithBodyWithResponse request with arbitrary body returning *PostAlertingContactsResponse

func (*ClientWithResponses) PostAlertingContactsWithResponse

func (c *ClientWithResponses) PostAlertingContactsWithResponse(ctx context.Context, body PostAlertingContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAlertingContactsResponse, error)

func (*ClientWithResponses) PostAlertingTeamsWithBodyWithResponse

func (c *ClientWithResponses) PostAlertingTeamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAlertingTeamsResponse, error)

PostAlertingTeamsWithBodyWithResponse request with arbitrary body returning *PostAlertingTeamsResponse

func (*ClientWithResponses) PostAlertingTeamsWithResponse

func (c *ClientWithResponses) PostAlertingTeamsWithResponse(ctx context.Context, body PostAlertingTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAlertingTeamsResponse, error)

func (*ClientWithResponses) PostChecksWithBodyWithResponse

func (c *ClientWithResponses) PostChecksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChecksResponse, error)

PostChecksWithBodyWithResponse request with arbitrary body returning *PostChecksResponse

func (*ClientWithResponses) PostChecksWithFormdataBodyWithResponse

func (c *ClientWithResponses) PostChecksWithFormdataBodyWithResponse(ctx context.Context, body PostChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostChecksResponse, error)

func (*ClientWithResponses) PostChecksWithResponse

func (c *ClientWithResponses) PostChecksWithResponse(ctx context.Context, body PostChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChecksResponse, error)

func (*ClientWithResponses) PostMaintenanceWithBodyWithResponse

func (c *ClientWithResponses) PostMaintenanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMaintenanceResponse, error)

PostMaintenanceWithBodyWithResponse request with arbitrary body returning *PostMaintenanceResponse

func (*ClientWithResponses) PostMaintenanceWithFormdataBodyWithResponse

func (c *ClientWithResponses) PostMaintenanceWithFormdataBodyWithResponse(ctx context.Context, body PostMaintenanceFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostMaintenanceResponse, error)

func (*ClientWithResponses) PostMaintenanceWithResponse

func (c *ClientWithResponses) PostMaintenanceWithResponse(ctx context.Context, body PostMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMaintenanceResponse, error)

func (*ClientWithResponses) PutAlertingContactsContactidWithBodyWithResponse

func (c *ClientWithResponses) PutAlertingContactsContactidWithBodyWithResponse(ctx context.Context, contactid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAlertingContactsContactidResponse, error)

PutAlertingContactsContactidWithBodyWithResponse request with arbitrary body returning *PutAlertingContactsContactidResponse

func (*ClientWithResponses) PutAlertingContactsContactidWithResponse

func (c *ClientWithResponses) PutAlertingContactsContactidWithResponse(ctx context.Context, contactid int, body PutAlertingContactsContactidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAlertingContactsContactidResponse, error)

func (*ClientWithResponses) PutAlertingTeamsTeamidWithBodyWithResponse

func (c *ClientWithResponses) PutAlertingTeamsTeamidWithBodyWithResponse(ctx context.Context, teamid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAlertingTeamsTeamidResponse, error)

PutAlertingTeamsTeamidWithBodyWithResponse request with arbitrary body returning *PutAlertingTeamsTeamidResponse

func (*ClientWithResponses) PutAlertingTeamsTeamidWithResponse

func (c *ClientWithResponses) PutAlertingTeamsTeamidWithResponse(ctx context.Context, teamid int, body PutAlertingTeamsTeamidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAlertingTeamsTeamidResponse, error)

func (*ClientWithResponses) PutChecksCheckidWithBodyWithResponse

func (c *ClientWithResponses) PutChecksCheckidWithBodyWithResponse(ctx context.Context, checkid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutChecksCheckidResponse, error)

PutChecksCheckidWithBodyWithResponse request with arbitrary body returning *PutChecksCheckidResponse

func (*ClientWithResponses) PutChecksCheckidWithFormdataBodyWithResponse

func (c *ClientWithResponses) PutChecksCheckidWithFormdataBodyWithResponse(ctx context.Context, checkid int, body PutChecksCheckidFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutChecksCheckidResponse, error)

func (*ClientWithResponses) PutChecksCheckidWithResponse

func (c *ClientWithResponses) PutChecksCheckidWithResponse(ctx context.Context, checkid int, body PutChecksCheckidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutChecksCheckidResponse, error)

func (*ClientWithResponses) PutChecksWithBodyWithResponse

func (c *ClientWithResponses) PutChecksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutChecksResponse, error)

PutChecksWithBodyWithResponse request with arbitrary body returning *PutChecksResponse

func (*ClientWithResponses) PutChecksWithFormdataBodyWithResponse

func (c *ClientWithResponses) PutChecksWithFormdataBodyWithResponse(ctx context.Context, body PutChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutChecksResponse, error)

func (*ClientWithResponses) PutChecksWithResponse

func (c *ClientWithResponses) PutChecksWithResponse(ctx context.Context, body PutChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*PutChecksResponse, error)

func (*ClientWithResponses) PutMaintenanceIdWithBodyWithResponse

func (c *ClientWithResponses) PutMaintenanceIdWithBodyWithResponse(ctx context.Context, id MaintenanceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutMaintenanceIdResponse, error)

PutMaintenanceIdWithBodyWithResponse request with arbitrary body returning *PutMaintenanceIdResponse

func (*ClientWithResponses) PutMaintenanceIdWithFormdataBodyWithResponse

func (c *ClientWithResponses) PutMaintenanceIdWithFormdataBodyWithResponse(ctx context.Context, id MaintenanceId, body PutMaintenanceIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutMaintenanceIdResponse, error)

func (*ClientWithResponses) PutMaintenanceIdWithResponse

func (c *ClientWithResponses) PutMaintenanceIdWithResponse(ctx context.Context, id MaintenanceId, body PutMaintenanceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutMaintenanceIdResponse, error)

func (*ClientWithResponses) PutMaintenanceOccurrencesIdWithBodyWithResponse

func (c *ClientWithResponses) PutMaintenanceOccurrencesIdWithBodyWithResponse(ctx context.Context, id MaintenanceOccurrencesId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutMaintenanceOccurrencesIdResponse, error)

PutMaintenanceOccurrencesIdWithBodyWithResponse request with arbitrary body returning *PutMaintenanceOccurrencesIdResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetActionsWithResponse request
	GetActionsWithResponse(ctx context.Context, params *GetActionsParams, reqEditors ...RequestEditorFn) (*GetActionsResponse, error)

	// GetAlertingContactsWithResponse request
	GetAlertingContactsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingContactsResponse, error)

	// PostAlertingContactsWithBodyWithResponse request with any body
	PostAlertingContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAlertingContactsResponse, error)

	PostAlertingContactsWithResponse(ctx context.Context, body PostAlertingContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAlertingContactsResponse, error)

	// DeleteAlertingContactsContactidWithResponse request
	DeleteAlertingContactsContactidWithResponse(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*DeleteAlertingContactsContactidResponse, error)

	// GetAlertingContactsContactidWithResponse request
	GetAlertingContactsContactidWithResponse(ctx context.Context, contactid int, reqEditors ...RequestEditorFn) (*GetAlertingContactsContactidResponse, error)

	// PutAlertingContactsContactidWithBodyWithResponse request with any body
	PutAlertingContactsContactidWithBodyWithResponse(ctx context.Context, contactid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAlertingContactsContactidResponse, error)

	PutAlertingContactsContactidWithResponse(ctx context.Context, contactid int, body PutAlertingContactsContactidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAlertingContactsContactidResponse, error)

	// GetAlertingTeamsWithResponse request
	GetAlertingTeamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAlertingTeamsResponse, error)

	// PostAlertingTeamsWithBodyWithResponse request with any body
	PostAlertingTeamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAlertingTeamsResponse, error)

	PostAlertingTeamsWithResponse(ctx context.Context, body PostAlertingTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAlertingTeamsResponse, error)

	// DeleteAlertingTeamsTeamidWithResponse request
	DeleteAlertingTeamsTeamidWithResponse(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*DeleteAlertingTeamsTeamidResponse, error)

	// GetAlertingTeamsTeamidWithResponse request
	GetAlertingTeamsTeamidWithResponse(ctx context.Context, teamid int, reqEditors ...RequestEditorFn) (*GetAlertingTeamsTeamidResponse, error)

	// PutAlertingTeamsTeamidWithBodyWithResponse request with any body
	PutAlertingTeamsTeamidWithBodyWithResponse(ctx context.Context, teamid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAlertingTeamsTeamidResponse, error)

	PutAlertingTeamsTeamidWithResponse(ctx context.Context, teamid int, body PutAlertingTeamsTeamidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAlertingTeamsTeamidResponse, error)

	// GetAnalysisCheckidWithResponse request
	GetAnalysisCheckidWithResponse(ctx context.Context, checkid AnalysisCheckid, params *GetAnalysisCheckidParams, reqEditors ...RequestEditorFn) (*GetAnalysisCheckidResponse, error)

	// GetAnalysisCheckidAnalysisidWithResponse request
	GetAnalysisCheckidAnalysisidWithResponse(ctx context.Context, checkid AnalysisCheckid, analysisid AnalysisAnalysisid, reqEditors ...RequestEditorFn) (*GetAnalysisCheckidAnalysisidResponse, error)

	// DeleteChecksWithBodyWithResponse request with any body
	DeleteChecksWithBodyWithResponse(ctx context.Context, params *DeleteChecksParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteChecksResponse, error)

	DeleteChecksWithResponse(ctx context.Context, params *DeleteChecksParams, body DeleteChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteChecksResponse, error)

	// GetChecksWithResponse request
	GetChecksWithResponse(ctx context.Context, params *GetChecksParams, reqEditors ...RequestEditorFn) (*GetChecksResponse, error)

	// PostChecksWithBodyWithResponse request with any body
	PostChecksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChecksResponse, error)

	PostChecksWithResponse(ctx context.Context, body PostChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChecksResponse, error)

	PostChecksWithFormdataBodyWithResponse(ctx context.Context, body PostChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostChecksResponse, error)

	// PutChecksWithBodyWithResponse request with any body
	PutChecksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutChecksResponse, error)

	PutChecksWithResponse(ctx context.Context, body PutChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*PutChecksResponse, error)

	PutChecksWithFormdataBodyWithResponse(ctx context.Context, body PutChecksFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutChecksResponse, error)

	// DeleteChecksCheckidWithResponse request
	DeleteChecksCheckidWithResponse(ctx context.Context, checkid int, reqEditors ...RequestEditorFn) (*DeleteChecksCheckidResponse, error)

	// GetChecksCheckidWithResponse request
	GetChecksCheckidWithResponse(ctx context.Context, checkid int, params *GetChecksCheckidParams, reqEditors ...RequestEditorFn) (*GetChecksCheckidResponse, error)

	// PutChecksCheckidWithBodyWithResponse request with any body
	PutChecksCheckidWithBodyWithResponse(ctx context.Context, checkid int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutChecksCheckidResponse, error)

	PutChecksCheckidWithResponse(ctx context.Context, checkid int, body PutChecksCheckidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutChecksCheckidResponse, error)

	PutChecksCheckidWithFormdataBodyWithResponse(ctx context.Context, checkid int, body PutChecksCheckidFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutChecksCheckidResponse, error)

	// GetCreditsWithResponse request
	GetCreditsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCreditsResponse, error)

	// DeleteMaintenanceWithResponse request
	DeleteMaintenanceWithResponse(ctx context.Context, params *DeleteMaintenanceParams, reqEditors ...RequestEditorFn) (*DeleteMaintenanceResponse, error)

	// GetMaintenanceWithResponse request
	GetMaintenanceWithResponse(ctx context.Context, params *GetMaintenanceParams, reqEditors ...RequestEditorFn) (*GetMaintenanceResponse, error)

	// PostMaintenanceWithBodyWithResponse request with any body
	PostMaintenanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostMaintenanceResponse, error)

	PostMaintenanceWithResponse(ctx context.Context, body PostMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostMaintenanceResponse, error)

	PostMaintenanceWithFormdataBodyWithResponse(ctx context.Context, body PostMaintenanceFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostMaintenanceResponse, error)

	// DeleteMaintenanceOccurrencesWithResponse request
	DeleteMaintenanceOccurrencesWithResponse(ctx context.Context, params *DeleteMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*DeleteMaintenanceOccurrencesResponse, error)

	// GetMaintenanceOccurrencesWithResponse request
	GetMaintenanceOccurrencesWithResponse(ctx context.Context, params *GetMaintenanceOccurrencesParams, reqEditors ...RequestEditorFn) (*GetMaintenanceOccurrencesResponse, error)

	// DeleteMaintenanceOccurrencesIdWithResponse request
	DeleteMaintenanceOccurrencesIdWithResponse(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*DeleteMaintenanceOccurrencesIdResponse, error)

	// GetMaintenanceOccurrencesIdWithResponse request
	GetMaintenanceOccurrencesIdWithResponse(ctx context.Context, id MaintenanceOccurrencesId, reqEditors ...RequestEditorFn) (*GetMaintenanceOccurrencesIdResponse, error)

	// PutMaintenanceOccurrencesIdWithBodyWithResponse request with any body
	PutMaintenanceOccurrencesIdWithBodyWithResponse(ctx context.Context, id MaintenanceOccurrencesId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutMaintenanceOccurrencesIdResponse, error)

	PutMaintenanceOccurrencesIdWithResponse(ctx context.Context, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutMaintenanceOccurrencesIdResponse, error)

	PutMaintenanceOccurrencesIdWithFormdataBodyWithResponse(ctx context.Context, id MaintenanceOccurrencesId, body PutMaintenanceOccurrencesIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutMaintenanceOccurrencesIdResponse, error)

	// DeleteMaintenanceIdWithResponse request
	DeleteMaintenanceIdWithResponse(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*DeleteMaintenanceIdResponse, error)

	// GetMaintenanceIdWithResponse request
	GetMaintenanceIdWithResponse(ctx context.Context, id MaintenanceId, reqEditors ...RequestEditorFn) (*GetMaintenanceIdResponse, error)

	// PutMaintenanceIdWithBodyWithResponse request with any body
	PutMaintenanceIdWithBodyWithResponse(ctx context.Context, id MaintenanceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutMaintenanceIdResponse, error)

	PutMaintenanceIdWithResponse(ctx context.Context, id MaintenanceId, body PutMaintenanceIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutMaintenanceIdResponse, error)

	PutMaintenanceIdWithFormdataBodyWithResponse(ctx context.Context, id MaintenanceId, body PutMaintenanceIdFormdataRequestBody, reqEditors ...RequestEditorFn) (*PutMaintenanceIdResponse, error)

	// GetProbesWithResponse request
	GetProbesWithResponse(ctx context.Context, params *GetProbesParams, reqEditors ...RequestEditorFn) (*GetProbesResponse, error)

	// GetReferenceWithResponse request
	GetReferenceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReferenceResponse, error)

	// GetResultsCheckidWithResponse request
	GetResultsCheckidWithResponse(ctx context.Context, checkid ResultsCheckid, params *GetResultsCheckidParams, reqEditors ...RequestEditorFn) (*GetResultsCheckidResponse, error)

	// GetSingleWithResponse request
	GetSingleWithResponse(ctx context.Context, params *GetSingleParams, reqEditors ...RequestEditorFn) (*GetSingleResponse, error)

	// GetSummaryAverageCheckidWithResponse request
	GetSummaryAverageCheckidWithResponse(ctx context.Context, checkid SummaryAverageCheckid, params *GetSummaryAverageCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryAverageCheckidResponse, error)

	// GetSummaryHoursofdayCheckidWithResponse request
	GetSummaryHoursofdayCheckidWithResponse(ctx context.Context, checkid SummaryHoursofdayCheckid, params *GetSummaryHoursofdayCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryHoursofdayCheckidResponse, error)

	// GetSummaryOutageCheckidWithResponse request
	GetSummaryOutageCheckidWithResponse(ctx context.Context, checkid SummaryOutageCheckid, params *GetSummaryOutageCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryOutageCheckidResponse, error)

	// GetSummaryPerformanceCheckidWithResponse request
	GetSummaryPerformanceCheckidWithResponse(ctx context.Context, checkid SummaryPerformanceCheckid, params *GetSummaryPerformanceCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryPerformanceCheckidResponse, error)

	// GetSummaryProbesCheckidWithResponse request
	GetSummaryProbesCheckidWithResponse(ctx context.Context, checkid SummaryProbesCheckid, params *GetSummaryProbesCheckidParams, reqEditors ...RequestEditorFn) (*GetSummaryProbesCheckidResponse, error)

	// GetAllChecksWithResponse request
	GetAllChecksWithResponse(ctx context.Context, params *GetAllChecksParams, reqEditors ...RequestEditorFn) (*GetAllChecksResponse, error)

	// AddCheckWithBodyWithResponse request with any body
	AddCheckWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddCheckResponse, error)

	AddCheckWithResponse(ctx context.Context, body AddCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*AddCheckResponse, error)

	// GetCheckReportStatusAllWithResponse request
	GetCheckReportStatusAllWithResponse(ctx context.Context, params *GetCheckReportStatusAllParams, reqEditors ...RequestEditorFn) (*GetCheckReportStatusAllResponse, error)

	// GetCheckReportPerformanceWithResponse request
	GetCheckReportPerformanceWithResponse(ctx context.Context, checkId int64, params *GetCheckReportPerformanceParams, reqEditors ...RequestEditorFn) (*GetCheckReportPerformanceResponse, error)

	// GetCheckReportStatusWithResponse request
	GetCheckReportStatusWithResponse(ctx context.Context, checkId int64, params *GetCheckReportStatusParams, reqEditors ...RequestEditorFn) (*GetCheckReportStatusResponse, error)

	// DeleteCheckWithResponse request
	DeleteCheckWithResponse(ctx context.Context, checkID int64, reqEditors ...RequestEditorFn) (*DeleteCheckResponse, error)

	// GetCheckWithResponse request
	GetCheckWithResponse(ctx context.Context, checkID int64, params *GetCheckParams, reqEditors ...RequestEditorFn) (*GetCheckResponse, error)

	// ModifyCheckWithBodyWithResponse request with any body
	ModifyCheckWithBodyWithResponse(ctx context.Context, checkID int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCheckResponse, error)

	ModifyCheckWithResponse(ctx context.Context, checkID int64, body ModifyCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCheckResponse, error)

	// GetTracerouteWithResponse request
	GetTracerouteWithResponse(ctx context.Context, params *GetTracerouteParams, reqEditors ...RequestEditorFn) (*GetTracerouteResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Contact

type Contact struct {
	Contact *ContactTargets `json:"contact,omitempty"`
}

Contact defines model for Contact.

type ContactTargets

type ContactTargets struct {
	// Id Contact ID
	Id *int `json:"id,omitempty"`

	// Name Contact name
	Name                *string                             `json:"name,omitempty"`
	NotificationTargets *ContactTargets_NotificationTargets `json:"notification_targets,omitempty"`

	// Owner Indicates whether the contact is the owner of the organization
	Owner *ContactTargetsOwner `json:"owner,omitempty"`

	// Paused Describes whether alerts are paused for this contact
	Paused *ContactTargetsPaused `json:"paused,omitempty"`
	Teams  *[]struct {
		// Id Team ID
		Id *int `json:"id,omitempty"`

		// Name Name of the team
		Name *string `json:"name,omitempty"`
	} `json:"teams,omitempty"`

	// Type Type defines whether this is a user (login user) or a contact only
	Type *ContactTargetsType `json:"type,omitempty"`
}

ContactTargets defines model for ContactTargets.

type ContactTargetsOwner

type ContactTargetsOwner bool

ContactTargetsOwner Indicates whether the contact is the owner of the organization

const (
	ContactTargetsOwnerFalse ContactTargetsOwner = false
	ContactTargetsOwnerTrue  ContactTargetsOwner = true
)

Defines values for ContactTargetsOwner.

type ContactTargetsPaused

type ContactTargetsPaused bool

ContactTargetsPaused Describes whether alerts are paused for this contact

const (
	ContactTargetsPausedFalse ContactTargetsPaused = false
	ContactTargetsPausedTrue  ContactTargetsPaused = true
)

Defines values for ContactTargetsPaused.

type ContactTargetsType

type ContactTargetsType string

ContactTargetsType Type defines whether this is a user (login user) or a contact only

const (
	ContactTargetsTypeContact ContactTargetsType = "contact"
	ContactTargetsTypeUser    ContactTargetsType = "user"
)

Defines values for ContactTargetsType.

type ContactTargets_NotificationTargets

type ContactTargets_NotificationTargets struct {
	// contains filtered or unexported fields
}

ContactTargets_NotificationTargets defines model for ContactTargets.NotificationTargets.

func (ContactTargets_NotificationTargets) AsAGCM

AsAGCM returns the union data inside the ContactTargets_NotificationTargets as a AGCM

func (ContactTargets_NotificationTargets) AsAPNS

AsAPNS returns the union data inside the ContactTargets_NotificationTargets as a APNS

func (ContactTargets_NotificationTargets) AsEmails

AsEmails returns the union data inside the ContactTargets_NotificationTargets as a Emails

func (ContactTargets_NotificationTargets) AsSMSes

AsSMSes returns the union data inside the ContactTargets_NotificationTargets as a SMSes

func (*ContactTargets_NotificationTargets) FromAGCM

FromAGCM overwrites any union data inside the ContactTargets_NotificationTargets as the provided AGCM

func (*ContactTargets_NotificationTargets) FromAPNS

FromAPNS overwrites any union data inside the ContactTargets_NotificationTargets as the provided APNS

func (*ContactTargets_NotificationTargets) FromEmails

FromEmails overwrites any union data inside the ContactTargets_NotificationTargets as the provided Emails

func (*ContactTargets_NotificationTargets) FromSMSes

FromSMSes overwrites any union data inside the ContactTargets_NotificationTargets as the provided SMSes

func (ContactTargets_NotificationTargets) MarshalJSON

func (t ContactTargets_NotificationTargets) MarshalJSON() ([]byte, error)

func (*ContactTargets_NotificationTargets) MergeAGCM

MergeAGCM performs a merge with any union data inside the ContactTargets_NotificationTargets, using the provided AGCM

func (*ContactTargets_NotificationTargets) MergeAPNS

MergeAPNS performs a merge with any union data inside the ContactTargets_NotificationTargets, using the provided APNS

func (*ContactTargets_NotificationTargets) MergeEmails

MergeEmails performs a merge with any union data inside the ContactTargets_NotificationTargets, using the provided Emails

func (*ContactTargets_NotificationTargets) MergeSMSes

MergeSMSes performs a merge with any union data inside the ContactTargets_NotificationTargets, using the provided SMSes

func (*ContactTargets_NotificationTargets) UnmarshalJSON

func (t *ContactTargets_NotificationTargets) UnmarshalJSON(b []byte) error

type ContactsList

type ContactsList struct {
	// Contacts List of all contacts targets
	Contacts *[]ContactTargets `json:"contacts,omitempty"`
}

ContactsList defines model for ContactsList.

type Country

type Country struct {
	// Id Country id
	Id *int `json:"id,omitempty"`

	// Iso Country ISO code
	Iso *string `json:"iso,omitempty"`

	// Name Country name
	Name *string `json:"name,omitempty"`
}

Country defines model for Country.

type Counts

type Counts struct {
	// Filtered Number of checks after limit was applied
	Filtered *int `json:"filtered,omitempty"`

	// Limited Number of checks after tags filter was applied
	Limited *int `json:"limited,omitempty"`

	// Total Total number of checks
	Total *int `json:"total,omitempty"`
}

Counts defines model for Counts.

type CreateCheck

type CreateCheck struct {
	// CustomMessage Custom message that will be added to email and webhook alerts.
	CustomMessage *string `json:"custom_message,omitempty"`

	// Host Target host
	Host string `json:"host"`

	// Integrationids Integration identifiers. For example integrationids:[1,2,3].
	Integrationids *[]int `json:"integrationids,omitempty"`

	// Ipv6 Use ipv6 instead of ipv4, if an IP address is provided as host this will be overrided by the IP address version
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Name Check name
	Name string `json:"name"`

	// Notifyagainevery Notify again every n result. 0 means that no extra notifications will be sent.
	Notifyagainevery *int `json:"notifyagainevery,omitempty"`

	// Notifywhenbackup Notify when back up again
	Notifywhenbackup *bool `json:"notifywhenbackup,omitempty"`
	Paused           *bool `json:"paused,omitempty"`

	// ProbeFilters Filters used for probe selections. Overwrites previous filters for check. To remove all filters from a check, use an empty value. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'. For example, "region: NA".
	ProbeFilters *[]string `json:"probe_filters,omitempty"`

	// Resolution How often should the check be tested? (minutes)
	Resolution *CreateCheckResolution `json:"resolution,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Sendnotificationwhendown Send notification when down X times
	Sendnotificationwhendown *int `json:"sendnotificationwhendown,omitempty"`

	// Tags List of tags for check. The maximum length of a tag is 64 characters.
	Tags *[]string `json:"tags,omitempty"`

	// Teamids Teams to alert. Comma separated Integers.
	Teamids *string `json:"teamids,omitempty"`

	// Type Type of check
	Type CreateCheckType `json:"type"`

	// Userids User identifiers. For example userids=154325,465231,765871
	Userids *string `json:"userids,omitempty"`
	// contains filtered or unexported fields
}

CreateCheck defines model for CreateCheck.

func (CreateCheck) AsDnsAttributes

func (t CreateCheck) AsDnsAttributes() (DnsAttributes, error)

AsDnsAttributes returns the union data inside the CreateCheck as a DnsAttributes

func (CreateCheck) AsHttpAttributesSet

func (t CreateCheck) AsHttpAttributesSet() (HttpAttributesSet, error)

AsHttpAttributesSet returns the union data inside the CreateCheck as a HttpAttributesSet

func (CreateCheck) AsHttpCustomAttributes

func (t CreateCheck) AsHttpCustomAttributes() (HttpCustomAttributes, error)

AsHttpCustomAttributes returns the union data inside the CreateCheck as a HttpCustomAttributes

func (CreateCheck) AsImapAttributes

func (t CreateCheck) AsImapAttributes() (ImapAttributes, error)

AsImapAttributes returns the union data inside the CreateCheck as a ImapAttributes

func (CreateCheck) AsPop3Attributes

func (t CreateCheck) AsPop3Attributes() (Pop3Attributes, error)

AsPop3Attributes returns the union data inside the CreateCheck as a Pop3Attributes

func (CreateCheck) AsSmtpAttributesSet

func (t CreateCheck) AsSmtpAttributesSet() (SmtpAttributesSet, error)

AsSmtpAttributesSet returns the union data inside the CreateCheck as a SmtpAttributesSet

func (CreateCheck) AsTcpAttributes

func (t CreateCheck) AsTcpAttributes() (TcpAttributes, error)

AsTcpAttributes returns the union data inside the CreateCheck as a TcpAttributes

func (CreateCheck) AsUdpAttributes

func (t CreateCheck) AsUdpAttributes() (UdpAttributes, error)

AsUdpAttributes returns the union data inside the CreateCheck as a UdpAttributes

func (*CreateCheck) FromDnsAttributes

func (t *CreateCheck) FromDnsAttributes(v DnsAttributes) error

FromDnsAttributes overwrites any union data inside the CreateCheck as the provided DnsAttributes

func (*CreateCheck) FromHttpAttributesSet

func (t *CreateCheck) FromHttpAttributesSet(v HttpAttributesSet) error

FromHttpAttributesSet overwrites any union data inside the CreateCheck as the provided HttpAttributesSet

func (*CreateCheck) FromHttpCustomAttributes

func (t *CreateCheck) FromHttpCustomAttributes(v HttpCustomAttributes) error

FromHttpCustomAttributes overwrites any union data inside the CreateCheck as the provided HttpCustomAttributes

func (*CreateCheck) FromImapAttributes

func (t *CreateCheck) FromImapAttributes(v ImapAttributes) error

FromImapAttributes overwrites any union data inside the CreateCheck as the provided ImapAttributes

func (*CreateCheck) FromPop3Attributes

func (t *CreateCheck) FromPop3Attributes(v Pop3Attributes) error

FromPop3Attributes overwrites any union data inside the CreateCheck as the provided Pop3Attributes

func (*CreateCheck) FromSmtpAttributesSet

func (t *CreateCheck) FromSmtpAttributesSet(v SmtpAttributesSet) error

FromSmtpAttributesSet overwrites any union data inside the CreateCheck as the provided SmtpAttributesSet

func (*CreateCheck) FromTcpAttributes

func (t *CreateCheck) FromTcpAttributes(v TcpAttributes) error

FromTcpAttributes overwrites any union data inside the CreateCheck as the provided TcpAttributes

func (*CreateCheck) FromUdpAttributes

func (t *CreateCheck) FromUdpAttributes(v UdpAttributes) error

FromUdpAttributes overwrites any union data inside the CreateCheck as the provided UdpAttributes

func (CreateCheck) MarshalJSON

func (t CreateCheck) MarshalJSON() ([]byte, error)

func (*CreateCheck) MergeDnsAttributes

func (t *CreateCheck) MergeDnsAttributes(v DnsAttributes) error

MergeDnsAttributes performs a merge with any union data inside the CreateCheck, using the provided DnsAttributes

func (*CreateCheck) MergeHttpAttributesSet

func (t *CreateCheck) MergeHttpAttributesSet(v HttpAttributesSet) error

MergeHttpAttributesSet performs a merge with any union data inside the CreateCheck, using the provided HttpAttributesSet

func (*CreateCheck) MergeHttpCustomAttributes

func (t *CreateCheck) MergeHttpCustomAttributes(v HttpCustomAttributes) error

MergeHttpCustomAttributes performs a merge with any union data inside the CreateCheck, using the provided HttpCustomAttributes

func (*CreateCheck) MergeImapAttributes

func (t *CreateCheck) MergeImapAttributes(v ImapAttributes) error

MergeImapAttributes performs a merge with any union data inside the CreateCheck, using the provided ImapAttributes

func (*CreateCheck) MergePop3Attributes

func (t *CreateCheck) MergePop3Attributes(v Pop3Attributes) error

MergePop3Attributes performs a merge with any union data inside the CreateCheck, using the provided Pop3Attributes

func (*CreateCheck) MergeSmtpAttributesSet

func (t *CreateCheck) MergeSmtpAttributesSet(v SmtpAttributesSet) error

MergeSmtpAttributesSet performs a merge with any union data inside the CreateCheck, using the provided SmtpAttributesSet

func (*CreateCheck) MergeTcpAttributes

func (t *CreateCheck) MergeTcpAttributes(v TcpAttributes) error

MergeTcpAttributes performs a merge with any union data inside the CreateCheck, using the provided TcpAttributes

func (*CreateCheck) MergeUdpAttributes

func (t *CreateCheck) MergeUdpAttributes(v UdpAttributes) error

MergeUdpAttributes performs a merge with any union data inside the CreateCheck, using the provided UdpAttributes

func (*CreateCheck) UnmarshalJSON

func (t *CreateCheck) UnmarshalJSON(b []byte) error

type CreateCheckResolution

type CreateCheckResolution int

CreateCheckResolution How often should the check be tested? (minutes)

const (
	CreateCheckResolutionN1  CreateCheckResolution = 1
	CreateCheckResolutionN15 CreateCheckResolution = 15
	CreateCheckResolutionN30 CreateCheckResolution = 30
	CreateCheckResolutionN5  CreateCheckResolution = 5
	CreateCheckResolutionN60 CreateCheckResolution = 60
)

Defines values for CreateCheckResolution.

type CreateCheckType

type CreateCheckType string

CreateCheckType Type of check

const (
	CreateCheckTypeDns        CreateCheckType = "dns"
	CreateCheckTypeHttp       CreateCheckType = "http"
	CreateCheckTypeHttpcustom CreateCheckType = "httpcustom"
	CreateCheckTypeImap       CreateCheckType = "imap"
	CreateCheckTypePing       CreateCheckType = "ping"
	CreateCheckTypePop3       CreateCheckType = "pop3"
	CreateCheckTypeSmtp       CreateCheckType = "smtp"
	CreateCheckTypeTcp        CreateCheckType = "tcp"
	CreateCheckTypeUdp        CreateCheckType = "udp"
)

Defines values for CreateCheckType.

type CreateContact

type CreateContact struct {
	// Name Contact name
	Name                string                            `json:"name"`
	NotificationTargets CreateContact_NotificationTargets `json:"notification_targets"`

	// Paused Pause contact
	Paused *CreateContactPaused `json:"paused,omitempty"`
}

CreateContact defines model for CreateContact.

type CreateContactPaused

type CreateContactPaused bool

CreateContactPaused Pause contact

const (
	CreateContactPausedFalse CreateContactPaused = false
	CreateContactPausedTrue  CreateContactPaused = true
)

Defines values for CreateContactPaused.

type CreateContact_NotificationTargets

type CreateContact_NotificationTargets struct {
	// contains filtered or unexported fields
}

CreateContact_NotificationTargets defines model for CreateContact.NotificationTargets.

func (CreateContact_NotificationTargets) AsEmails

AsEmails returns the union data inside the CreateContact_NotificationTargets as a Emails

func (CreateContact_NotificationTargets) AsSMSes

AsSMSes returns the union data inside the CreateContact_NotificationTargets as a SMSes

func (*CreateContact_NotificationTargets) FromEmails

FromEmails overwrites any union data inside the CreateContact_NotificationTargets as the provided Emails

func (*CreateContact_NotificationTargets) FromSMSes

FromSMSes overwrites any union data inside the CreateContact_NotificationTargets as the provided SMSes

func (CreateContact_NotificationTargets) MarshalJSON

func (t CreateContact_NotificationTargets) MarshalJSON() ([]byte, error)

func (*CreateContact_NotificationTargets) MergeEmails

MergeEmails performs a merge with any union data inside the CreateContact_NotificationTargets, using the provided Emails

func (*CreateContact_NotificationTargets) MergeSMSes

MergeSMSes performs a merge with any union data inside the CreateContact_NotificationTargets, using the provided SMSes

func (*CreateContact_NotificationTargets) UnmarshalJSON

func (t *CreateContact_NotificationTargets) UnmarshalJSON(b []byte) error

type CreateTeam

type CreateTeam struct {
	// MemberIds Contact ids
	MemberIds []int `json:"member_ids"`

	// Name Team name
	Name string `json:"name"`
}

CreateTeam defines model for CreateTeam.

type CreditsRespAttrs

type CreditsRespAttrs struct {
	Credits *struct {
		// Autofillsms Auto fill SMS
		Autofillsms *bool `json:"autofillsms,omitempty"`

		// AutofillsmsAmount The amount of sms to purchase when "autofillsms_when_left" is triggered
		AutofillsmsAmount *int `json:"autofillsms_amount,omitempty"`

		// AutofillsmsWhenLeft The amount of sms left that is going to trigger purchase of sms
		AutofillsmsWhenLeft *int `json:"autofillsms_when_left,omitempty"`

		// Availablechecks Free check slots available for new checks
		Availablechecks *int `json:"availablechecks,omitempty"`

		// Availablerumsites Open RUM site slots available
		Availablerumsites *int `json:"availablerumsites,omitempty"`

		// Availablesms SMS credits remaining on this account
		Availablesms *int `json:"availablesms,omitempty"`

		// Availablesmstests SMS provider tests remaining on this account
		Availablesmstests *int `json:"availablesmstests,omitempty"`

		// Checklimit Total number of check slots on this account
		Checklimit *int `json:"checklimit,omitempty"`

		// MaxSmsOverage The amount of overage SMSes that may be used, or null if SMS overage is not enabled.
		MaxSmsOverage *int `json:"max_sms_overage,omitempty"`

		// Maxrumfilters Number of maximum rum filters
		Maxrumfilters *int `json:"maxrumfilters,omitempty"`

		// Maxrumpageviews Number of maximum pageviews per month
		Maxrumpageviews *int `json:"maxrumpageviews,omitempty"`

		// Useddefault Total number of default check slots
		Useddefault *int `json:"useddefault,omitempty"`

		// Usedrumsites Number of used RUM sites
		Usedrumsites *int `json:"usedrumsites,omitempty"`

		// Usedtransaction Total number of transaction check slots
		Usedtransaction *int `json:"usedtransaction,omitempty"`
	} `json:"credits,omitempty"`
}

CreditsRespAttrs defines model for credits_resp_attrs.

type DNS

type DNS struct {
	// Expectedip (dns specific) Expected ip
	Expectedip string `json:"expectedip"`

	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Nameserver (dns specific) Nameserver
	Nameserver string `json:"nameserver"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'. For example, "region: NA".
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int    `json:"responsetime_threshold,omitempty"`
	Type                  DNSType `json:"type"`
}

DNS defines model for DNS.

type DNSType

type DNSType string

DNSType defines model for DNS.Type.

const (
	DNSTypeDns DNSType = "dns"
)

Defines values for DNSType.

type DateTimeFormat

type DateTimeFormat struct {
	// Description Date/time description
	Description *string `json:"description,omitempty"`

	// Id Date/time identifier
	Id *int `json:"id,omitempty"`
}

DateTimeFormat defines model for DateTimeFormat.

type Days

type Days struct {
	Days *SummaryPerformanceResults `json:"days,omitempty"`
}

Days defines model for Days.

type DeleteAlertingContactsContactidResponse

type DeleteAlertingContactsContactidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteAlertingContactsContactidResponse

func ParseDeleteAlertingContactsContactidResponse(rsp *http.Response) (*DeleteAlertingContactsContactidResponse, error)

ParseDeleteAlertingContactsContactidResponse parses an HTTP response from a DeleteAlertingContactsContactidWithResponse call

func (DeleteAlertingContactsContactidResponse) Status

Status returns HTTPResponse.Status

func (DeleteAlertingContactsContactidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteAlertingTeamsTeamidResponse

type DeleteAlertingTeamsTeamidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteAlertingTeamsTeamidResponse

func ParseDeleteAlertingTeamsTeamidResponse(rsp *http.Response) (*DeleteAlertingTeamsTeamidResponse, error)

ParseDeleteAlertingTeamsTeamidResponse parses an HTTP response from a DeleteAlertingTeamsTeamidWithResponse call

func (DeleteAlertingTeamsTeamidResponse) Status

Status returns HTTPResponse.Status

func (DeleteAlertingTeamsTeamidResponse) StatusCode

func (r DeleteAlertingTeamsTeamidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCheckResponse

type DeleteCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CheckDeletedResponse
}

func ParseDeleteCheckResponse

func ParseDeleteCheckResponse(rsp *http.Response) (*DeleteCheckResponse, error)

ParseDeleteCheckResponse parses an HTTP response from a DeleteCheckWithResponse call

func (DeleteCheckResponse) Status

func (r DeleteCheckResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteCheckResponse) StatusCode

func (r DeleteCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteChecksCheckidResponse

type DeleteChecksCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteChecksCheckidResponse

func ParseDeleteChecksCheckidResponse(rsp *http.Response) (*DeleteChecksCheckidResponse, error)

ParseDeleteChecksCheckidResponse parses an HTTP response from a DeleteChecksCheckidWithResponse call

func (DeleteChecksCheckidResponse) Status

Status returns HTTPResponse.Status

func (DeleteChecksCheckidResponse) StatusCode

func (r DeleteChecksCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteChecksJSONBody

type DeleteChecksJSONBody = string

DeleteChecksJSONBody defines parameters for DeleteChecks.

type DeleteChecksJSONRequestBody

type DeleteChecksJSONRequestBody = DeleteChecksJSONBody

DeleteChecksJSONRequestBody defines body for DeleteChecks for application/json ContentType.

type DeleteChecksParams

type DeleteChecksParams struct {
	// Delcheckids Comma-separated list of identifiers for checks to be deleted.
	Delcheckids []int `form:"delcheckids" json:"delcheckids"`
}

DeleteChecksParams defines parameters for DeleteChecks.

type DeleteChecksResponse

type DeleteChecksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteChecksResponse

func ParseDeleteChecksResponse(rsp *http.Response) (*DeleteChecksResponse, error)

ParseDeleteChecksResponse parses an HTTP response from a DeleteChecksWithResponse call

func (DeleteChecksResponse) Status

func (r DeleteChecksResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteChecksResponse) StatusCode

func (r DeleteChecksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMaintenanceIdResponse

type DeleteMaintenanceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceIdDeleteRespAttrs
}

func ParseDeleteMaintenanceIdResponse

func ParseDeleteMaintenanceIdResponse(rsp *http.Response) (*DeleteMaintenanceIdResponse, error)

ParseDeleteMaintenanceIdResponse parses an HTTP response from a DeleteMaintenanceIdWithResponse call

func (DeleteMaintenanceIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMaintenanceIdResponse) StatusCode

func (r DeleteMaintenanceIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMaintenanceOccurrencesIdResponse

type DeleteMaintenanceOccurrencesIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceOccurrencesIdDeleteRespAttrs
}

func ParseDeleteMaintenanceOccurrencesIdResponse

func ParseDeleteMaintenanceOccurrencesIdResponse(rsp *http.Response) (*DeleteMaintenanceOccurrencesIdResponse, error)

ParseDeleteMaintenanceOccurrencesIdResponse parses an HTTP response from a DeleteMaintenanceOccurrencesIdWithResponse call

func (DeleteMaintenanceOccurrencesIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMaintenanceOccurrencesIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteMaintenanceOccurrencesParams

type DeleteMaintenanceOccurrencesParams struct {
	Occurenceids MaintenanceOccurrencesDelete `form:"occurenceids" json:"occurenceids"`
}

DeleteMaintenanceOccurrencesParams defines parameters for DeleteMaintenanceOccurrences.

type DeleteMaintenanceOccurrencesResponse

type DeleteMaintenanceOccurrencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceOccurrencesDeleteRespAttrs
}

func ParseDeleteMaintenanceOccurrencesResponse

func ParseDeleteMaintenanceOccurrencesResponse(rsp *http.Response) (*DeleteMaintenanceOccurrencesResponse, error)

ParseDeleteMaintenanceOccurrencesResponse parses an HTTP response from a DeleteMaintenanceOccurrencesWithResponse call

func (DeleteMaintenanceOccurrencesResponse) Status

Status returns HTTPResponse.Status

func (DeleteMaintenanceOccurrencesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteMaintenanceParams

type DeleteMaintenanceParams struct {
	// Maintenanceids Comma-separated list of identifiers of maintenance windows to be deleted.
	Maintenanceids []int `form:"maintenanceids" json:"maintenanceids"`
}

DeleteMaintenanceParams defines parameters for DeleteMaintenance.

type DeleteMaintenanceResponse

type DeleteMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceDeleteRespAttrs
}

func ParseDeleteMaintenanceResponse

func ParseDeleteMaintenanceResponse(rsp *http.Response) (*DeleteMaintenanceResponse, error)

ParseDeleteMaintenanceResponse parses an HTTP response from a DeleteMaintenanceWithResponse call

func (DeleteMaintenanceResponse) Status

func (r DeleteMaintenanceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMaintenanceResponse) StatusCode

func (r DeleteMaintenanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DetailedCheck

type DetailedCheck struct {
	// contains filtered or unexported fields
}

DetailedCheck defines model for DetailedCheck.

func (DetailedCheck) AsDetailedCheckDns

func (t DetailedCheck) AsDetailedCheckDns() (DetailedCheckDns, error)

AsDetailedCheckDns returns the union data inside the DetailedCheck as a DetailedCheckDns

func (DetailedCheck) AsDetailedCheckHttp

func (t DetailedCheck) AsDetailedCheckHttp() (DetailedCheckHttp, error)

AsDetailedCheckHttp returns the union data inside the DetailedCheck as a DetailedCheckHttp

func (DetailedCheck) AsDetailedCheckHttpCustom

func (t DetailedCheck) AsDetailedCheckHttpCustom() (DetailedCheckHttpCustom, error)

AsDetailedCheckHttpCustom returns the union data inside the DetailedCheck as a DetailedCheckHttpCustom

func (DetailedCheck) AsDetailedCheckImap

func (t DetailedCheck) AsDetailedCheckImap() (DetailedCheckImap, error)

AsDetailedCheckImap returns the union data inside the DetailedCheck as a DetailedCheckImap

func (DetailedCheck) AsDetailedCheckPop3

func (t DetailedCheck) AsDetailedCheckPop3() (DetailedCheckPop3, error)

AsDetailedCheckPop3 returns the union data inside the DetailedCheck as a DetailedCheckPop3

func (DetailedCheck) AsDetailedCheckSmtp

func (t DetailedCheck) AsDetailedCheckSmtp() (DetailedCheckSmtp, error)

AsDetailedCheckSmtp returns the union data inside the DetailedCheck as a DetailedCheckSmtp

func (DetailedCheck) AsDetailedCheckTcp

func (t DetailedCheck) AsDetailedCheckTcp() (DetailedCheckTcp, error)

AsDetailedCheckTcp returns the union data inside the DetailedCheck as a DetailedCheckTcp

func (DetailedCheck) AsDetailedCheckUdp

func (t DetailedCheck) AsDetailedCheckUdp() (DetailedCheckUdp, error)

AsDetailedCheckUdp returns the union data inside the DetailedCheck as a DetailedCheckUdp

func (*DetailedCheck) FromDetailedCheckDns

func (t *DetailedCheck) FromDetailedCheckDns(v DetailedCheckDns) error

FromDetailedCheckDns overwrites any union data inside the DetailedCheck as the provided DetailedCheckDns

func (*DetailedCheck) FromDetailedCheckHttp

func (t *DetailedCheck) FromDetailedCheckHttp(v DetailedCheckHttp) error

FromDetailedCheckHttp overwrites any union data inside the DetailedCheck as the provided DetailedCheckHttp

func (*DetailedCheck) FromDetailedCheckHttpCustom

func (t *DetailedCheck) FromDetailedCheckHttpCustom(v DetailedCheckHttpCustom) error

FromDetailedCheckHttpCustom overwrites any union data inside the DetailedCheck as the provided DetailedCheckHttpCustom

func (*DetailedCheck) FromDetailedCheckImap

func (t *DetailedCheck) FromDetailedCheckImap(v DetailedCheckImap) error

FromDetailedCheckImap overwrites any union data inside the DetailedCheck as the provided DetailedCheckImap

func (*DetailedCheck) FromDetailedCheckPop3

func (t *DetailedCheck) FromDetailedCheckPop3(v DetailedCheckPop3) error

FromDetailedCheckPop3 overwrites any union data inside the DetailedCheck as the provided DetailedCheckPop3

func (*DetailedCheck) FromDetailedCheckSmtp

func (t *DetailedCheck) FromDetailedCheckSmtp(v DetailedCheckSmtp) error

FromDetailedCheckSmtp overwrites any union data inside the DetailedCheck as the provided DetailedCheckSmtp

func (*DetailedCheck) FromDetailedCheckTcp

func (t *DetailedCheck) FromDetailedCheckTcp(v DetailedCheckTcp) error

FromDetailedCheckTcp overwrites any union data inside the DetailedCheck as the provided DetailedCheckTcp

func (*DetailedCheck) FromDetailedCheckUdp

func (t *DetailedCheck) FromDetailedCheckUdp(v DetailedCheckUdp) error

FromDetailedCheckUdp overwrites any union data inside the DetailedCheck as the provided DetailedCheckUdp

func (DetailedCheck) MarshalJSON

func (t DetailedCheck) MarshalJSON() ([]byte, error)

func (*DetailedCheck) MergeDetailedCheckDns

func (t *DetailedCheck) MergeDetailedCheckDns(v DetailedCheckDns) error

MergeDetailedCheckDns performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckDns

func (*DetailedCheck) MergeDetailedCheckHttp

func (t *DetailedCheck) MergeDetailedCheckHttp(v DetailedCheckHttp) error

MergeDetailedCheckHttp performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckHttp

func (*DetailedCheck) MergeDetailedCheckHttpCustom

func (t *DetailedCheck) MergeDetailedCheckHttpCustom(v DetailedCheckHttpCustom) error

MergeDetailedCheckHttpCustom performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckHttpCustom

func (*DetailedCheck) MergeDetailedCheckImap

func (t *DetailedCheck) MergeDetailedCheckImap(v DetailedCheckImap) error

MergeDetailedCheckImap performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckImap

func (*DetailedCheck) MergeDetailedCheckPop3

func (t *DetailedCheck) MergeDetailedCheckPop3(v DetailedCheckPop3) error

MergeDetailedCheckPop3 performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckPop3

func (*DetailedCheck) MergeDetailedCheckSmtp

func (t *DetailedCheck) MergeDetailedCheckSmtp(v DetailedCheckSmtp) error

MergeDetailedCheckSmtp performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckSmtp

func (*DetailedCheck) MergeDetailedCheckTcp

func (t *DetailedCheck) MergeDetailedCheckTcp(v DetailedCheckTcp) error

MergeDetailedCheckTcp performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckTcp

func (*DetailedCheck) MergeDetailedCheckUdp

func (t *DetailedCheck) MergeDetailedCheckUdp(v DetailedCheckUdp) error

MergeDetailedCheckUdp performs a merge with any union data inside the DetailedCheck, using the provided DetailedCheckUdp

func (*DetailedCheck) UnmarshalJSON

func (t *DetailedCheck) UnmarshalJSON(b []byte) error

type DetailedCheckAttributes

type DetailedCheckAttributes = Check

DetailedCheckAttributes defines model for DetailedCheckAttributes.

type DetailedCheckDns

type DetailedCheckDns struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                         `json:"resolution,omitempty"`
		Status     *DetailedCheckDnsCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Dns *DnsAttributes `json:"dns,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckDns defines model for DetailedCheckDns.

type DetailedCheckDnsCheckStatus

type DetailedCheckDnsCheckStatus string

DetailedCheckDnsCheckStatus defines model for DetailedCheckDns.Check.Status.

const (
	DetailedCheckDnsCheckStatusDown            DetailedCheckDnsCheckStatus = "down"
	DetailedCheckDnsCheckStatusPaused          DetailedCheckDnsCheckStatus = "paused"
	DetailedCheckDnsCheckStatusUnconfirmedDown DetailedCheckDnsCheckStatus = "unconfirmed_down"
	DetailedCheckDnsCheckStatusUnknown         DetailedCheckDnsCheckStatus = "unknown"
	DetailedCheckDnsCheckStatusUp              DetailedCheckDnsCheckStatus = "up"
)

Defines values for DetailedCheckDnsCheckStatus.

type DetailedCheckHttp

type DetailedCheckHttp struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                          `json:"resolution,omitempty"`
		Status     *DetailedCheckHttpCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Http *HttpAttributesGet `json:"http,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckHttp defines model for DetailedCheckHttp.

type DetailedCheckHttpCheckStatus

type DetailedCheckHttpCheckStatus string

DetailedCheckHttpCheckStatus defines model for DetailedCheckHttp.Check.Status.

const (
	DetailedCheckHttpCheckStatusDown            DetailedCheckHttpCheckStatus = "down"
	DetailedCheckHttpCheckStatusPaused          DetailedCheckHttpCheckStatus = "paused"
	DetailedCheckHttpCheckStatusUnconfirmedDown DetailedCheckHttpCheckStatus = "unconfirmed_down"
	DetailedCheckHttpCheckStatusUnknown         DetailedCheckHttpCheckStatus = "unknown"
	DetailedCheckHttpCheckStatusUp              DetailedCheckHttpCheckStatus = "up"
)

Defines values for DetailedCheckHttpCheckStatus.

type DetailedCheckHttpCustom

type DetailedCheckHttpCustom struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int `json:"resolution,omitempty"`

		// SslDownDaysBefore Treat the target site as down if a certificate expires within the given number of days. This parameter will be ignored if `verify_certificate` is set to `false`.
		SslDownDaysBefore *int                                `json:"ssl_down_days_before,omitempty"`
		Status            *DetailedCheckHttpCustomCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Httpcustom *HttpCustomAttributes `json:"httpcustom,omitempty"`
		} `json:"type,omitempty"`

		// VerifyCertificate Treat target site as down if an invalid/unverifiable certificate is found.
		VerifyCertificate *bool `json:"verify_certificate,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckHttpCustom defines model for DetailedCheckHttpCustom.

type DetailedCheckHttpCustomCheckStatus

type DetailedCheckHttpCustomCheckStatus string

DetailedCheckHttpCustomCheckStatus defines model for DetailedCheckHttpCustom.Check.Status.

const (
	DetailedCheckHttpCustomCheckStatusDown            DetailedCheckHttpCustomCheckStatus = "down"
	DetailedCheckHttpCustomCheckStatusPaused          DetailedCheckHttpCustomCheckStatus = "paused"
	DetailedCheckHttpCustomCheckStatusUnconfirmedDown DetailedCheckHttpCustomCheckStatus = "unconfirmed_down"
	DetailedCheckHttpCustomCheckStatusUnknown         DetailedCheckHttpCustomCheckStatus = "unknown"
	DetailedCheckHttpCustomCheckStatusUp              DetailedCheckHttpCustomCheckStatus = "up"
)

Defines values for DetailedCheckHttpCustomCheckStatus.

type DetailedCheckImap

type DetailedCheckImap struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                          `json:"resolution,omitempty"`
		Status     *DetailedCheckImapCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Imap *ImapAttributes `json:"imap,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckImap defines model for DetailedCheckImap.

type DetailedCheckImapCheckStatus

type DetailedCheckImapCheckStatus string

DetailedCheckImapCheckStatus defines model for DetailedCheckImap.Check.Status.

const (
	DetailedCheckImapCheckStatusDown            DetailedCheckImapCheckStatus = "down"
	DetailedCheckImapCheckStatusPaused          DetailedCheckImapCheckStatus = "paused"
	DetailedCheckImapCheckStatusUnconfirmedDown DetailedCheckImapCheckStatus = "unconfirmed_down"
	DetailedCheckImapCheckStatusUnknown         DetailedCheckImapCheckStatus = "unknown"
	DetailedCheckImapCheckStatusUp              DetailedCheckImapCheckStatus = "up"
)

Defines values for DetailedCheckImapCheckStatus.

type DetailedCheckPop3

type DetailedCheckPop3 struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                          `json:"resolution,omitempty"`
		Status     *DetailedCheckPop3CheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Pop3 *Pop3Attributes `json:"pop3,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckPop3 defines model for DetailedCheckPop3.

type DetailedCheckPop3CheckStatus

type DetailedCheckPop3CheckStatus string

DetailedCheckPop3CheckStatus defines model for DetailedCheckPop3.Check.Status.

const (
	DetailedCheckPop3CheckStatusDown            DetailedCheckPop3CheckStatus = "down"
	DetailedCheckPop3CheckStatusPaused          DetailedCheckPop3CheckStatus = "paused"
	DetailedCheckPop3CheckStatusUnconfirmedDown DetailedCheckPop3CheckStatus = "unconfirmed_down"
	DetailedCheckPop3CheckStatusUnknown         DetailedCheckPop3CheckStatus = "unknown"
	DetailedCheckPop3CheckStatusUp              DetailedCheckPop3CheckStatus = "up"
)

Defines values for DetailedCheckPop3CheckStatus.

type DetailedCheckSmtp

type DetailedCheckSmtp struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                          `json:"resolution,omitempty"`
		Status     *DetailedCheckSmtpCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Smtp *SmtpAttributesGet `json:"smtp,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckSmtp defines model for DetailedCheckSmtp.

type DetailedCheckSmtpCheckStatus

type DetailedCheckSmtpCheckStatus string

DetailedCheckSmtpCheckStatus defines model for DetailedCheckSmtp.Check.Status.

const (
	DetailedCheckSmtpCheckStatusDown            DetailedCheckSmtpCheckStatus = "down"
	DetailedCheckSmtpCheckStatusPaused          DetailedCheckSmtpCheckStatus = "paused"
	DetailedCheckSmtpCheckStatusUnconfirmedDown DetailedCheckSmtpCheckStatus = "unconfirmed_down"
	DetailedCheckSmtpCheckStatusUnknown         DetailedCheckSmtpCheckStatus = "unknown"
	DetailedCheckSmtpCheckStatusUp              DetailedCheckSmtpCheckStatus = "up"
)

Defines values for DetailedCheckSmtpCheckStatus.

type DetailedCheckTcp

type DetailedCheckTcp struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                         `json:"resolution,omitempty"`
		Status     *DetailedCheckTcpCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Tcp *TcpAttributes `json:"tcp,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckTcp defines model for DetailedCheckTcp.

type DetailedCheckTcpCheckStatus

type DetailedCheckTcpCheckStatus string

DetailedCheckTcpCheckStatus defines model for DetailedCheckTcp.Check.Status.

const (
	DetailedCheckTcpCheckStatusDown            DetailedCheckTcpCheckStatus = "down"
	DetailedCheckTcpCheckStatusPaused          DetailedCheckTcpCheckStatus = "paused"
	DetailedCheckTcpCheckStatusUnconfirmedDown DetailedCheckTcpCheckStatus = "unconfirmed_down"
	DetailedCheckTcpCheckStatusUnknown         DetailedCheckTcpCheckStatus = "unknown"
	DetailedCheckTcpCheckStatusUp              DetailedCheckTcpCheckStatus = "up"
)

Defines values for DetailedCheckTcpCheckStatus.

type DetailedCheckUdp

type DetailedCheckUdp struct {
	Check *struct {
		// Created Creating time. Format is UNIX timestamp
		Created *int `json:"created,omitempty"`

		// Hostname Target host
		Hostname *string `json:"hostname,omitempty"`
		Id       *int    `json:"id,omitempty"`

		// Ipv6 Use ipv6 instead of ipv4
		Ipv6 *bool `json:"ipv6,omitempty"`

		// Lastdownend Timestamp of end of last check down (if any). Format is UNIX timestamp. During a downtime it will be lasttesttime.
		Lastdownend *int `json:"lastdownend,omitempty"`

		// Lastdownstart Timestamp of start of last check down (if any). Format is UNIX timestamp.
		Lastdownstart *int `json:"lastdownstart,omitempty"`

		// Lasterrortime Timestamp of last error (if any). Format is UNIX timestamp
		Lasterrortime *int `json:"lasterrortime,omitempty"`

		// Lastresponsetime Response time (in milliseconds) of last test.
		Lastresponsetime *int `json:"lastresponsetime,omitempty"`

		// Lasttesttime Timestamp of last test (if any). Format is UNIX timestamp
		Lasttesttime *int    `json:"lasttesttime,omitempty"`
		Name         *string `json:"name,omitempty"`

		// Resolution How often should the check be tested? (minutes)
		Resolution *int                         `json:"resolution,omitempty"`
		Status     *DetailedCheckUdpCheckStatus `json:"status,omitempty"`

		// Tags List of tags for check
		Tags *[]Tag `json:"tags,omitempty"`
		Type *struct {
			Udp *UdpAttributes `json:"udp,omitempty"`
		} `json:"type,omitempty"`
	} `json:"check,omitempty"`
}

DetailedCheckUdp defines model for DetailedCheckUdp.

type DetailedCheckUdpCheckStatus

type DetailedCheckUdpCheckStatus string

DetailedCheckUdpCheckStatus defines model for DetailedCheckUdp.Check.Status.

const (
	DetailedCheckUdpCheckStatusDown            DetailedCheckUdpCheckStatus = "down"
	DetailedCheckUdpCheckStatusPaused          DetailedCheckUdpCheckStatus = "paused"
	DetailedCheckUdpCheckStatusUnconfirmedDown DetailedCheckUdpCheckStatus = "unconfirmed_down"
	DetailedCheckUdpCheckStatusUnknown         DetailedCheckUdpCheckStatus = "unknown"
	DetailedCheckUdpCheckStatusUp              DetailedCheckUdpCheckStatus = "up"
)

Defines values for DetailedCheckUdpCheckStatus.

type DetailedDnsAttributes

type DetailedDnsAttributes struct {
	Type *struct {
		Dns *DnsAttributes `json:"dns,omitempty"`
	} `json:"type,omitempty"`
}

DetailedDnsAttributes defines model for DetailedDnsAttributes.

type DetailedHttpAttributes

type DetailedHttpAttributes struct {
	Type *struct {
		Http *HttpAttributesGet `json:"http,omitempty"`
	} `json:"type,omitempty"`
}

DetailedHttpAttributes defines model for DetailedHttpAttributes.

type DetailedHttpCustomAttributes

type DetailedHttpCustomAttributes struct {
	Type *struct {
		Httpcustom *HttpCustomAttributes `json:"httpcustom,omitempty"`
	} `json:"type,omitempty"`
}

DetailedHttpCustomAttributes defines model for DetailedHttpCustomAttributes.

type DetailedImapAttributes

type DetailedImapAttributes struct {
	Type *struct {
		Imap *ImapAttributes `json:"imap,omitempty"`
	} `json:"type,omitempty"`
}

DetailedImapAttributes defines model for DetailedImapAttributes.

type DetailedPop3Attributes

type DetailedPop3Attributes struct {
	Type *struct {
		Pop3 *Pop3Attributes `json:"pop3,omitempty"`
	} `json:"type,omitempty"`
}

DetailedPop3Attributes defines model for DetailedPop3Attributes.

type DetailedSmtpAttributes

type DetailedSmtpAttributes struct {
	Type *struct {
		Smtp *SmtpAttributesGet `json:"smtp,omitempty"`
	} `json:"type,omitempty"`
}

DetailedSmtpAttributes defines model for DetailedSmtpAttributes.

type DetailedTcpAttributes

type DetailedTcpAttributes struct {
	Type *struct {
		Tcp *TcpAttributes `json:"tcp,omitempty"`
	} `json:"type,omitempty"`
}

DetailedTcpAttributes defines model for DetailedTcpAttributes.

type DetailedUdpAttributes

type DetailedUdpAttributes struct {
	Type *struct {
		Udp *UdpAttributes `json:"udp,omitempty"`
	} `json:"type,omitempty"`
}

DetailedUdpAttributes defines model for DetailedUdpAttributes.

type DnsAttributes

type DnsAttributes struct {
	// Expectedip Expected IP
	Expectedip string `json:"expectedip"`

	// Nameserver DNS server to use
	Nameserver string `json:"nameserver"`
}

DnsAttributes defines model for DnsAttributes.

type Downtime

type Downtime = int64

Downtime Amount of time when the check was down within given interval (only with the `include_uptime` flag)

type EchoRouter

type EchoRouter interface {
	CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration

type Emails

type Emails = []struct {
	// Address Email address
	Address *string `json:"address,omitempty"`

	// Severity Contact target's severity level
	Severity *string `json:"severity,omitempty"`
}

Emails defines model for Emails.

type GetActionsParams

type GetActionsParams struct {
	// From Only include actions generated later than this timestamp. Format is UNIX time.
	From *ActionsFrom `form:"from,omitempty" json:"from,omitempty"`

	// To Only include actions generated prior to this timestamp. Format is UNIX time.
	To *ActionsTo `form:"to,omitempty" json:"to,omitempty"`

	// Limit Limits the number of returned results to the specified quantity.
	Limit *ActionsLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for listing.
	Offset *ActionsOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Checkids Comma-separated list of check identifiers. Limit results to actions generated from these checks. Default: all checks.
	Checkids *ActionsCheckids `form:"checkids,omitempty" json:"checkids,omitempty"`

	// Userids Comma-separated list of user identifiers. Limit results to actions sent to these users. Default: all users.
	Userids *ActionsUserids `form:"userids,omitempty" json:"userids,omitempty"`

	// Status Comma-separated list of statuses. Limit results to actions with these statuses. Default: all statuses.
	Status *ActionsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Via Comma-separated list of via mediums. Limit results to actions with these mediums. Default: all mediums.
	Via *ActionsVia `form:"via,omitempty" json:"via,omitempty"`
}

GetActionsParams defines parameters for GetActions.

type GetActionsResponse

type GetActionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionsAlertsEntry
}

func ParseGetActionsResponse

func ParseGetActionsResponse(rsp *http.Response) (*GetActionsResponse, error)

ParseGetActionsResponse parses an HTTP response from a GetActionsWithResponse call

func (GetActionsResponse) Status

func (r GetActionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetActionsResponse) StatusCode

func (r GetActionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAlertingContactsContactidResponse

type GetAlertingContactsContactidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Contact
}

func ParseGetAlertingContactsContactidResponse

func ParseGetAlertingContactsContactidResponse(rsp *http.Response) (*GetAlertingContactsContactidResponse, error)

ParseGetAlertingContactsContactidResponse parses an HTTP response from a GetAlertingContactsContactidWithResponse call

func (GetAlertingContactsContactidResponse) Status

Status returns HTTPResponse.Status

func (GetAlertingContactsContactidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAlertingContactsResponse

type GetAlertingContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContactsList
}

func ParseGetAlertingContactsResponse

func ParseGetAlertingContactsResponse(rsp *http.Response) (*GetAlertingContactsResponse, error)

ParseGetAlertingContactsResponse parses an HTTP response from a GetAlertingContactsWithResponse call

func (GetAlertingContactsResponse) Status

Status returns HTTPResponse.Status

func (GetAlertingContactsResponse) StatusCode

func (r GetAlertingContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAlertingTeamsResponse

type GetAlertingTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Teams
}

func ParseGetAlertingTeamsResponse

func ParseGetAlertingTeamsResponse(rsp *http.Response) (*GetAlertingTeamsResponse, error)

ParseGetAlertingTeamsResponse parses an HTTP response from a GetAlertingTeamsWithResponse call

func (GetAlertingTeamsResponse) Status

func (r GetAlertingTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAlertingTeamsResponse) StatusCode

func (r GetAlertingTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAlertingTeamsTeamidResponse

type GetAlertingTeamsTeamidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamID
}

func ParseGetAlertingTeamsTeamidResponse

func ParseGetAlertingTeamsTeamidResponse(rsp *http.Response) (*GetAlertingTeamsTeamidResponse, error)

ParseGetAlertingTeamsTeamidResponse parses an HTTP response from a GetAlertingTeamsTeamidWithResponse call

func (GetAlertingTeamsTeamidResponse) Status

Status returns HTTPResponse.Status

func (GetAlertingTeamsTeamidResponse) StatusCode

func (r GetAlertingTeamsTeamidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllChecksParams

type GetAllChecksParams struct {
	// ExtendedTags Specifies whether to return an extended tags representation in the response (with type and count).
	ExtendedTags *bool `form:"extended_tags,omitempty" json:"extended_tags,omitempty"`

	// Tags Tag list separated by commas. As an example "nginx,apache" would filter out all responses except those tagged nginx or apache
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// Type Filter to return only checks of a given type (a TMS `script` or a WPM `recording`). If not provided, all checks are returned.
	Type *GetAllChecksParamsType `form:"type,omitempty" json:"type,omitempty"`

	// Limit Limit of returned checks
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset of returned checks
	Offset *string `form:"offset,omitempty" json:"offset,omitempty"`
}

GetAllChecksParams defines parameters for GetAllChecks.

type GetAllChecksParamsType

type GetAllChecksParamsType string

GetAllChecksParamsType defines parameters for GetAllChecks.

const (
	Recording GetAllChecksParamsType = "recording"
	Script    GetAllChecksParamsType = "script"
)

Defines values for GetAllChecksParamsType.

type GetAllChecksResponse

type GetAllChecksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ChecksAll
}

func ParseGetAllChecksResponse

func ParseGetAllChecksResponse(rsp *http.Response) (*GetAllChecksResponse, error)

ParseGetAllChecksResponse parses an HTTP response from a GetAllChecksWithResponse call

func (GetAllChecksResponse) Status

func (r GetAllChecksResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllChecksResponse) StatusCode

func (r GetAllChecksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAnalysisCheckidAnalysisidResponse

type GetAnalysisCheckidAnalysisidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetAnalysisCheckidAnalysisidResponse

func ParseGetAnalysisCheckidAnalysisidResponse(rsp *http.Response) (*GetAnalysisCheckidAnalysisidResponse, error)

ParseGetAnalysisCheckidAnalysisidResponse parses an HTTP response from a GetAnalysisCheckidAnalysisidWithResponse call

func (GetAnalysisCheckidAnalysisidResponse) Status

Status returns HTTPResponse.Status

func (GetAnalysisCheckidAnalysisidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAnalysisCheckidParams

type GetAnalysisCheckidParams struct {
	// Limit Limits the number of returned results to the specified quantity.
	Limit *AnalysisLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for listing. (Requires limit.)
	Offset *AnalysisOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// From Return only results with timestamp of first test greater or equal to this value. Format is UNIX timestamp.
	From *AnalysisFrom `form:"from,omitempty" json:"from,omitempty"`

	// To Return only results with timestamp of first test less or equal to this value. Format is UNIX timestamp. Default: current timestamp
	To *AnalysisTo `form:"to,omitempty" json:"to,omitempty"`
}

GetAnalysisCheckidParams defines parameters for GetAnalysisCheckid.

type GetAnalysisCheckidResponse

type GetAnalysisCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AnalysisRespAttrs
}

func ParseGetAnalysisCheckidResponse

func ParseGetAnalysisCheckidResponse(rsp *http.Response) (*GetAnalysisCheckidResponse, error)

ParseGetAnalysisCheckidResponse parses an HTTP response from a GetAnalysisCheckidWithResponse call

func (GetAnalysisCheckidResponse) Status

Status returns HTTPResponse.Status

func (GetAnalysisCheckidResponse) StatusCode

func (r GetAnalysisCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCheckParams

type GetCheckParams struct {
	// ExtendedTags Specifies whether to return an extended tags representation in the response (with type and count).
	ExtendedTags *bool `form:"extended_tags,omitempty" json:"extended_tags,omitempty"`
}

GetCheckParams defines parameters for GetCheck.

type GetCheckReportPerformanceParams

type GetCheckReportPerformanceParams struct {
	// From Start time of period. The format is `RFC 3339` (properly URL-encoded!). The default value is 10 times the resolution (10 hours, 10 day, 10 weeks) earlier than `to`. The value is extended to the nearest hour, day or week, depending on the 'resolution' parameter and configured time zone of the account.
	From *time.Time `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. The format is `RFC 3339` (properly URL-encoded!). The default value is the current time. The value is extended to the nearest hour, day or week, depending on the 'resolution' parameter and configured time zone of the account.
	To *time.Time `form:"to,omitempty" json:"to,omitempty"`

	// Order Sorting order of outages. Ascending or descending
	Order *GetCheckReportPerformanceParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Resolution Size of an interval for which the results are calculated. For the `hour` resolution, the max allowed period is one week and 1 day. For the `day` resolution, the max allowed period is 6 months and 1 day.
	Resolution *GetCheckReportPerformanceParamsResolution `form:"resolution,omitempty" json:"resolution,omitempty"`

	// IncludeUptime Include uptime information. Adds field downtime, uptime, and unmonitored to the interval array objects.
	IncludeUptime *bool `form:"include_uptime,omitempty" json:"include_uptime,omitempty"`
}

GetCheckReportPerformanceParams defines parameters for GetCheckReportPerformance.

type GetCheckReportPerformanceParamsOrder

type GetCheckReportPerformanceParamsOrder string

GetCheckReportPerformanceParamsOrder defines parameters for GetCheckReportPerformance.

const (
	GetCheckReportPerformanceParamsOrderAsc  GetCheckReportPerformanceParamsOrder = "asc"
	GetCheckReportPerformanceParamsOrderDesc GetCheckReportPerformanceParamsOrder = "desc"
)

Defines values for GetCheckReportPerformanceParamsOrder.

type GetCheckReportPerformanceParamsResolution

type GetCheckReportPerformanceParamsResolution string

GetCheckReportPerformanceParamsResolution defines parameters for GetCheckReportPerformance.

const (
	GetCheckReportPerformanceParamsResolutionDay  GetCheckReportPerformanceParamsResolution = "day"
	GetCheckReportPerformanceParamsResolutionHour GetCheckReportPerformanceParamsResolution = "hour"
	GetCheckReportPerformanceParamsResolutionWeek GetCheckReportPerformanceParamsResolution = "week"
)

Defines values for GetCheckReportPerformanceParamsResolution.

type GetCheckReportPerformanceResponse

type GetCheckReportPerformanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReportPerformance
}

func ParseGetCheckReportPerformanceResponse

func ParseGetCheckReportPerformanceResponse(rsp *http.Response) (*GetCheckReportPerformanceResponse, error)

ParseGetCheckReportPerformanceResponse parses an HTTP response from a GetCheckReportPerformanceWithResponse call

func (GetCheckReportPerformanceResponse) Status

Status returns HTTPResponse.Status

func (GetCheckReportPerformanceResponse) StatusCode

func (r GetCheckReportPerformanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCheckReportStatusAllParams

type GetCheckReportStatusAllParams struct {
	// From Start time of period. The format is `RFC 3339` (properly URL-encoded!). The default value is one week earlier than `to`
	From *time.Time `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. The format is `RFC 3339` (properly URL-encoded!). The default value is the current time
	To *time.Time `form:"to,omitempty" json:"to,omitempty"`

	// Order Sorting order of outages. Ascending or descending
	Order *GetCheckReportStatusAllParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Limit of returned checks
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset of returned checks
	Offset *string `form:"offset,omitempty" json:"offset,omitempty"`

	// OmitEmpty Omits checks without any results within specified time
	OmitEmpty *bool `form:"omit_empty,omitempty" json:"omit_empty,omitempty"`
}

GetCheckReportStatusAllParams defines parameters for GetCheckReportStatusAll.

type GetCheckReportStatusAllParamsOrder

type GetCheckReportStatusAllParamsOrder string

GetCheckReportStatusAllParamsOrder defines parameters for GetCheckReportStatusAll.

const (
	GetCheckReportStatusAllParamsOrderAsc  GetCheckReportStatusAllParamsOrder = "asc"
	GetCheckReportStatusAllParamsOrderDesc GetCheckReportStatusAllParamsOrder = "desc"
)

Defines values for GetCheckReportStatusAllParamsOrder.

type GetCheckReportStatusAllResponse

type GetCheckReportStatusAllResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReportStatusAll
}

func ParseGetCheckReportStatusAllResponse

func ParseGetCheckReportStatusAllResponse(rsp *http.Response) (*GetCheckReportStatusAllResponse, error)

ParseGetCheckReportStatusAllResponse parses an HTTP response from a GetCheckReportStatusAllWithResponse call

func (GetCheckReportStatusAllResponse) Status

Status returns HTTPResponse.Status

func (GetCheckReportStatusAllResponse) StatusCode

func (r GetCheckReportStatusAllResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCheckReportStatusParams

type GetCheckReportStatusParams struct {
	// From Start time of period. The format is `RFC 3339` (properly URL-encoded!). The default value is one week earlier than `to`
	From *time.Time `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. The format is `RFC 3339` (properly URL-encoded!). The default value is the current time
	To *time.Time `form:"to,omitempty" json:"to,omitempty"`

	// Order Sorting order of outages. Ascending or descending
	Order *GetCheckReportStatusParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}

GetCheckReportStatusParams defines parameters for GetCheckReportStatus.

type GetCheckReportStatusParamsOrder

type GetCheckReportStatusParamsOrder string

GetCheckReportStatusParamsOrder defines parameters for GetCheckReportStatus.

const (
	GetCheckReportStatusParamsOrderAsc  GetCheckReportStatusParamsOrder = "asc"
	GetCheckReportStatusParamsOrderDesc GetCheckReportStatusParamsOrder = "desc"
)

Defines values for GetCheckReportStatusParamsOrder.

type GetCheckReportStatusResponse

type GetCheckReportStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReportStatusSingle
}

func ParseGetCheckReportStatusResponse

func ParseGetCheckReportStatusResponse(rsp *http.Response) (*GetCheckReportStatusResponse, error)

ParseGetCheckReportStatusResponse parses an HTTP response from a GetCheckReportStatusWithResponse call

func (GetCheckReportStatusResponse) Status

Status returns HTTPResponse.Status

func (GetCheckReportStatusResponse) StatusCode

func (r GetCheckReportStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCheckResponse

type GetCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CheckDetailed
}

func ParseGetCheckResponse

func ParseGetCheckResponse(rsp *http.Response) (*GetCheckResponse, error)

ParseGetCheckResponse parses an HTTP response from a GetCheckWithResponse call

func (GetCheckResponse) Status

func (r GetCheckResponse) Status() string

Status returns HTTPResponse.Status

func (GetCheckResponse) StatusCode

func (r GetCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChecksCheckidParams

type GetChecksCheckidParams struct {
	// IncludeTeams Include team connections for check.
	IncludeTeams *bool `form:"include_teams,omitempty" json:"include_teams,omitempty"`
}

GetChecksCheckidParams defines parameters for GetChecksCheckid.

type GetChecksCheckidResponse

type GetChecksCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DetailedCheck
}

func ParseGetChecksCheckidResponse

func ParseGetChecksCheckidResponse(rsp *http.Response) (*GetChecksCheckidResponse, error)

ParseGetChecksCheckidResponse parses an HTTP response from a GetChecksCheckidWithResponse call

func (GetChecksCheckidResponse) Status

func (r GetChecksCheckidResponse) Status() string

Status returns HTTPResponse.Status

func (GetChecksCheckidResponse) StatusCode

func (r GetChecksCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetChecksParams

type GetChecksParams struct {
	// Limit Limits the number of returned probes to the specified quantity. (Max value is 25000)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for listing. (Requires limit.)
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Showencryption If set, show encryption setting for each check
	Showencryption *bool `form:"showencryption,omitempty" json:"showencryption,omitempty"`

	// IncludeTags Include tag list for each check. Tags can be marked as "a" or "u", for auto tagged or user tagged.
	IncludeTags *bool `form:"include_tags,omitempty" json:"include_tags,omitempty"`

	// IncludeSeverity Include severity level for each check.
	IncludeSeverity *bool `form:"include_severity,omitempty" json:"include_severity,omitempty"`

	// Tags Tag list separated by commas. As an example "nginx,apache" would filter out all responses except those tagged nginx or apache
	Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
}

GetChecksParams defines parameters for GetChecks.

type GetChecksResponse

type GetChecksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Checks
}

func ParseGetChecksResponse

func ParseGetChecksResponse(rsp *http.Response) (*GetChecksResponse, error)

ParseGetChecksResponse parses an HTTP response from a GetChecksWithResponse call

func (GetChecksResponse) Status

func (r GetChecksResponse) Status() string

Status returns HTTPResponse.Status

func (GetChecksResponse) StatusCode

func (r GetChecksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCreditsResponse

type GetCreditsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreditsRespAttrs
}

func ParseGetCreditsResponse

func ParseGetCreditsResponse(rsp *http.Response) (*GetCreditsResponse, error)

ParseGetCreditsResponse parses an HTTP response from a GetCreditsWithResponse call

func (GetCreditsResponse) Status

func (r GetCreditsResponse) Status() string

Status returns HTTPResponse.Status

func (GetCreditsResponse) StatusCode

func (r GetCreditsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMaintenanceIdResponse

type GetMaintenanceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceIdRespAttrs
}

func ParseGetMaintenanceIdResponse

func ParseGetMaintenanceIdResponse(rsp *http.Response) (*GetMaintenanceIdResponse, error)

ParseGetMaintenanceIdResponse parses an HTTP response from a GetMaintenanceIdWithResponse call

func (GetMaintenanceIdResponse) Status

func (r GetMaintenanceIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetMaintenanceIdResponse) StatusCode

func (r GetMaintenanceIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMaintenanceOccurrencesIdResponse

type GetMaintenanceOccurrencesIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceOccurrencesIdRespAttrs
}

func ParseGetMaintenanceOccurrencesIdResponse

func ParseGetMaintenanceOccurrencesIdResponse(rsp *http.Response) (*GetMaintenanceOccurrencesIdResponse, error)

ParseGetMaintenanceOccurrencesIdResponse parses an HTTP response from a GetMaintenanceOccurrencesIdWithResponse call

func (GetMaintenanceOccurrencesIdResponse) Status

Status returns HTTPResponse.Status

func (GetMaintenanceOccurrencesIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetMaintenanceOccurrencesParams

type GetMaintenanceOccurrencesParams struct {
	// Maintenanceid Maintenance window identifier. (List only occurrences of a specific maintenance window.)
	Maintenanceid *MaintenanceOccurrencesMaintenanceid `form:"maintenanceid,omitempty" json:"maintenanceid,omitempty"`

	// From Effective from (unix timestamp). (List occurrences which are effective from the specified unix timestamp. If not specified, current timestamp is used.)
	From *MaintenanceOccurrencesFrom `form:"from,omitempty" json:"from,omitempty"`

	// To Effective to (unix timestamp). (List occurrences which are effective to the specified unix timestamp.)
	To *MaintenanceOccurrencesTo `form:"to,omitempty" json:"to,omitempty"`
}

GetMaintenanceOccurrencesParams defines parameters for GetMaintenanceOccurrences.

type GetMaintenanceOccurrencesResponse

type GetMaintenanceOccurrencesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceOccurrencesRespAttrs
}

func ParseGetMaintenanceOccurrencesResponse

func ParseGetMaintenanceOccurrencesResponse(rsp *http.Response) (*GetMaintenanceOccurrencesResponse, error)

ParseGetMaintenanceOccurrencesResponse parses an HTTP response from a GetMaintenanceOccurrencesWithResponse call

func (GetMaintenanceOccurrencesResponse) Status

Status returns HTTPResponse.Status

func (GetMaintenanceOccurrencesResponse) StatusCode

func (r GetMaintenanceOccurrencesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMaintenanceParams

type GetMaintenanceParams struct {
	// Limit Count of items to list.
	Limit *MaintenanceLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset of the list.
	Offset *MaintenanceOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Orderby Order by the specific property of the maintenance window.
	Orderby *MaintenanceOrderby `form:"orderby,omitempty" json:"orderby,omitempty"`

	// Order Order a-z for asc z-a for desc. Works only if orderby is specified.
	Order *MaintenanceOrder `form:"order,omitempty" json:"order,omitempty"`
}

GetMaintenanceParams defines parameters for GetMaintenance.

type GetMaintenanceResponse

type GetMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceRespAttrs
}

func ParseGetMaintenanceResponse

func ParseGetMaintenanceResponse(rsp *http.Response) (*GetMaintenanceResponse, error)

ParseGetMaintenanceResponse parses an HTTP response from a GetMaintenanceWithResponse call

func (GetMaintenanceResponse) Status

func (r GetMaintenanceResponse) Status() string

Status returns HTTPResponse.Status

func (GetMaintenanceResponse) StatusCode

func (r GetMaintenanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProbesParams

type GetProbesParams struct {
	// Limit Limits the number of returned probes to the specified quantity.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for listing. (Requires limit.)
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Onlyactive Return only active probes.
	Onlyactive *bool `form:"onlyactive,omitempty" json:"onlyactive,omitempty"`

	// Includedeleted Include old probes that are no longer in use.
	Includedeleted *bool `form:"includedeleted,omitempty" json:"includedeleted,omitempty"`
}

GetProbesParams defines parameters for GetProbes.

type GetProbesResponse

type GetProbesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Probes
}

func ParseGetProbesResponse

func ParseGetProbesResponse(rsp *http.Response) (*GetProbesResponse, error)

ParseGetProbesResponse parses an HTTP response from a GetProbesWithResponse call

func (GetProbesResponse) Status

func (r GetProbesResponse) Status() string

Status returns HTTPResponse.Status

func (GetProbesResponse) StatusCode

func (r GetProbesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReferenceResponse

type GetReferenceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *References
}

func ParseGetReferenceResponse

func ParseGetReferenceResponse(rsp *http.Response) (*GetReferenceResponse, error)

ParseGetReferenceResponse parses an HTTP response from a GetReferenceWithResponse call

func (GetReferenceResponse) Status

func (r GetReferenceResponse) Status() string

Status returns HTTPResponse.Status

func (GetReferenceResponse) StatusCode

func (r GetReferenceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetResultsCheckidParams

type GetResultsCheckidParams struct {
	// To End of period. Format is UNIX timestamp. Default value is current timestamp.
	To *ResultsTo `form:"to,omitempty" json:"to,omitempty"`

	// From Start of period. Format is UNIX timestamp. Default value is 1 day prior to `to`.
	From *ResultsFrom `form:"from,omitempty" json:"from,omitempty"`

	// Probes Filter to only show results from a list of probes. Format is a comma separated list of probe identifiers
	Probes *ResultsProbes `form:"probes,omitempty" json:"probes,omitempty"`

	// Status Filter to only show results with specified statuses. Format is a comma separated list of (`down`, `up`, `unconfirmed`, `unknown`)
	Status *ResultsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Number of results to show (Will be set to 1000 if the provided value is greater than 1000)
	Limit *ResultsLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of results to skip (Max value is `43200`)
	Offset *ResultsOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// Includeanalysis Attach available root cause analysis identifiers to corresponding results
	Includeanalysis *ResultsIncludeanalysis `form:"includeanalysis,omitempty" json:"includeanalysis,omitempty"`

	// Maxresponse Maximum response time (ms). If set, specified interval must not be larger than 31 days.
	Maxresponse *ResultsMaxresponse `form:"maxresponse,omitempty" json:"maxresponse,omitempty"`

	// Minresponse Minimum response time (ms). If set, specified interval must not be larger than 31 days.
	Minresponse *ResultsMinresponse `form:"minresponse,omitempty" json:"minresponse,omitempty"`
}

GetResultsCheckidParams defines parameters for GetResultsCheckid.

type GetResultsCheckidResponse

type GetResultsCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResultsRespAttrs
}

func ParseGetResultsCheckidResponse

func ParseGetResultsCheckidResponse(rsp *http.Response) (*GetResultsCheckidResponse, error)

ParseGetResultsCheckidResponse parses an HTTP response from a GetResultsCheckidWithResponse call

func (GetResultsCheckidResponse) Status

func (r GetResultsCheckidResponse) Status() string

Status returns HTTPResponse.Status

func (GetResultsCheckidResponse) StatusCode

func (r GetResultsCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSingleParams

type GetSingleParams struct {
	// QueryParameters Query Parameters to chose
	QueryParameters *struct {
		// contains filtered or unexported fields
	} `form:"Query Parameters,omitempty" json:"Query Parameters,omitempty"`
}

GetSingleParams defines parameters for GetSingle.

type GetSingleResponse

type GetSingleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SingleResp
}

func ParseGetSingleResponse

func ParseGetSingleResponse(rsp *http.Response) (*GetSingleResponse, error)

ParseGetSingleResponse parses an HTTP response from a GetSingleWithResponse call

func (GetSingleResponse) Status

func (r GetSingleResponse) Status() string

Status returns HTTPResponse.Status

func (GetSingleResponse) StatusCode

func (r GetSingleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSummaryAverageCheckidParams

type GetSummaryAverageCheckidParams struct {
	// From Start time of period. Format is UNIX timestamp
	From *SummaryAverageFrom `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. Format is UNIX timestamp. Default is the current time
	To *SummaryAverageTo `form:"to,omitempty" json:"to,omitempty"`

	// Probes Filter to only use results from a list of probes. Format is a comma separated list of probe identifiers. By default result from all probes are shown.
	Probes *SummaryAverageProbes `form:"probes,omitempty" json:"probes,omitempty"`

	// Includeuptime Include uptime information
	Includeuptime *SummaryAverageIncludeuptime `form:"includeuptime,omitempty" json:"includeuptime,omitempty"`

	// Bycountry Split response times into country groups
	Bycountry *SummaryAverageBycountry `form:"bycountry,omitempty" json:"bycountry,omitempty"`

	// Byprobe Split response times into probe groups
	Byprobe *SummaryAverageByprobe `form:"byprobe,omitempty" json:"byprobe,omitempty"`
}

GetSummaryAverageCheckidParams defines parameters for GetSummaryAverageCheckid.

type GetSummaryAverageCheckidResponse

type GetSummaryAverageCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SummaryRespAttrs
}

func ParseGetSummaryAverageCheckidResponse

func ParseGetSummaryAverageCheckidResponse(rsp *http.Response) (*GetSummaryAverageCheckidResponse, error)

ParseGetSummaryAverageCheckidResponse parses an HTTP response from a GetSummaryAverageCheckidWithResponse call

func (GetSummaryAverageCheckidResponse) Status

Status returns HTTPResponse.Status

func (GetSummaryAverageCheckidResponse) StatusCode

func (r GetSummaryAverageCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSummaryHoursofdayCheckidParams

type GetSummaryHoursofdayCheckidParams struct {
	// From Start time of period. Format is UNIX timestamp. Default value is one week eariler than `to`.
	From *SummaryHoursofdayFrom `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. Format is UNIX timestamp. Default value is current time.
	To *SummaryHoursofdayTo `form:"to,omitempty" json:"to,omitempty"`

	// Probes Filter to only use results from a list of probes. Format is a comma separated list of probe identifiers. By default all probes results are returned.
	Probes *SummaryHoursofdayProbes `form:"probes,omitempty" json:"probes,omitempty"`

	// Uselocaltime If true, use the user's local time zone for results (from and to parameters should still be specified in UTC). If false, use UTC for results.
	Uselocaltime *SummaryHoursofdayUselocaltime `form:"uselocaltime,omitempty" json:"uselocaltime,omitempty"`
}

GetSummaryHoursofdayCheckidParams defines parameters for GetSummaryHoursofdayCheckid.

type GetSummaryHoursofdayCheckidResponse

type GetSummaryHoursofdayCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SummaryHoursofdayRespAttrs
}

func ParseGetSummaryHoursofdayCheckidResponse

func ParseGetSummaryHoursofdayCheckidResponse(rsp *http.Response) (*GetSummaryHoursofdayCheckidResponse, error)

ParseGetSummaryHoursofdayCheckidResponse parses an HTTP response from a GetSummaryHoursofdayCheckidWithResponse call

func (GetSummaryHoursofdayCheckidResponse) Status

Status returns HTTPResponse.Status

func (GetSummaryHoursofdayCheckidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSummaryOutageCheckidParams

type GetSummaryOutageCheckidParams struct {
	// From Start time of period. Format is UNIX timestamp. Default value is one week earlier than `to`.
	From *SummaryOutageFrom `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. Format is UNIX timestamp. Default value is the current time.
	To *SummaryOutageTo `form:"to,omitempty" json:"to,omitempty"`

	// Order Sorting order of outages. Ascending or descending.
	Order *SummaryOutageOrder `form:"order,omitempty" json:"order,omitempty"`
}

GetSummaryOutageCheckidParams defines parameters for GetSummaryOutageCheckid.

type GetSummaryOutageCheckidResponse

type GetSummaryOutageCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SummaryOutageRespAttrs
}

func ParseGetSummaryOutageCheckidResponse

func ParseGetSummaryOutageCheckidResponse(rsp *http.Response) (*GetSummaryOutageCheckidResponse, error)

ParseGetSummaryOutageCheckidResponse parses an HTTP response from a GetSummaryOutageCheckidWithResponse call

func (GetSummaryOutageCheckidResponse) Status

Status returns HTTPResponse.Status

func (GetSummaryOutageCheckidResponse) StatusCode

func (r GetSummaryOutageCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSummaryPerformanceCheckidParams

type GetSummaryPerformanceCheckidParams struct {
	// From Start time of period. Format is UNIX timestamp. Default value is 10 intervals earlier than `to`.
	From *SummaryPerformanceFrom `form:"from,omitempty" json:"from,omitempty"`

	// To End time of period. Format is UNIX timestamp. Default value is the current time.
	To *SummaryPerformanceTo `form:"to,omitempty" json:"to,omitempty"`

	// Resolution Interval size
	Resolution *SummaryPerformanceResolution `form:"resolution,omitempty" json:"resolution,omitempty"`

	// Includeuptime Include uptime information.
	Includeuptime *SummaryPerformanceIncludeuptime `form:"includeuptime,omitempty" json:"includeuptime,omitempty"`

	// Probes Filter to only use results from a list of probes. Format is a comma separated list of probe identifiers. Can not be used if includeuptime is set to true. Also note that this can cause intervals to be omitted, since there may be no results from the desired probes in them. By deafult results from all probes are returned.
	Probes *SummaryPerformanceProbes `form:"probes,omitempty" json:"probes,omitempty"`

	// Order Sorting order of sub intervals. Ascending or descending.
	Order *SummaryPerformanceOrder `form:"order,omitempty" json:"order,omitempty"`
}

GetSummaryPerformanceCheckidParams defines parameters for GetSummaryPerformanceCheckid.

type GetSummaryPerformanceCheckidResponse

type GetSummaryPerformanceCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SummaryPerformanceRespAttrs
}

func ParseGetSummaryPerformanceCheckidResponse

func ParseGetSummaryPerformanceCheckidResponse(rsp *http.Response) (*GetSummaryPerformanceCheckidResponse, error)

ParseGetSummaryPerformanceCheckidResponse parses an HTTP response from a GetSummaryPerformanceCheckidWithResponse call

func (GetSummaryPerformanceCheckidResponse) Status

Status returns HTTPResponse.Status

func (GetSummaryPerformanceCheckidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSummaryProbesCheckidParams

type GetSummaryProbesCheckidParams struct {
	// From Start time of period. Format is UNIX timestamp
	From SummaryProbesFrom `form:"from" json:"from"`

	// To End time of period. Format is UNIX timestamp. The defualt value is current time.
	To *SummaryProbesTo `form:"to,omitempty" json:"to,omitempty"`
}

GetSummaryProbesCheckidParams defines parameters for GetSummaryProbesCheckid.

type GetSummaryProbesCheckidResponse

type GetSummaryProbesCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SummaryProbesRespAttrs
}

func ParseGetSummaryProbesCheckidResponse

func ParseGetSummaryProbesCheckidResponse(rsp *http.Response) (*GetSummaryProbesCheckidResponse, error)

ParseGetSummaryProbesCheckidResponse parses an HTTP response from a GetSummaryProbesCheckidWithResponse call

func (GetSummaryProbesCheckidResponse) Status

Status returns HTTPResponse.Status

func (GetSummaryProbesCheckidResponse) StatusCode

func (r GetSummaryProbesCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTracerouteParams

type GetTracerouteParams struct {
	// Host Target host.
	Host string `form:"host" json:"host"`

	// Probeid Probe identifier.
	Probeid *int `form:"probeid,omitempty" json:"probeid,omitempty"`
}

GetTracerouteParams defines parameters for GetTraceroute.

type GetTracerouteResponse

type GetTracerouteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Traceroute
}

func ParseGetTracerouteResponse

func ParseGetTracerouteResponse(rsp *http.Response) (*GetTracerouteResponse, error)

ParseGetTracerouteResponse parses an HTTP response from a GetTracerouteWithResponse call

func (GetTracerouteResponse) Status

func (r GetTracerouteResponse) Status() string

Status returns HTTPResponse.Status

func (GetTracerouteResponse) StatusCode

func (r GetTracerouteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HTTP

type HTTP struct {
	// Auth (http specific) Username and password for target HTTP authentication.
	Auth *string `json:"auth,omitempty"`

	// Encryption (http specific) Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (http specific) Target port
	Port *int `json:"port,omitempty"`

	// Postdata (http specific) Data that should be posted to the web page, for example submission data for a sign-up or login form. The data needs to be formatted in the same way as a web browser would send it to the web server
	Postdata *string `json:"postdata,omitempty"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// RequestheaderX (http specific) Custom HTTP header name. Replace {X} with a number unique for each header argument.
	RequestheaderX *string `json:"requestheader{X},omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Shouldcontain (http specific) Target site should contain this string
	Shouldcontain *string `json:"shouldcontain,omitempty"`

	// Shouldnotcontain (http specific) Target site should NOT contain this string
	Shouldnotcontain *string `json:"shouldnotcontain,omitempty"`

	// SslDownDaysBefore (http specific) Treat the target site as down if a certificate expires within the given number of days. This parameter will be ignored if `verify_certificate` is set to `false`.
	SslDownDaysBefore *int     `json:"ssl_down_days_before,omitempty"`
	Type              HTTPType `json:"type"`

	// Url (http specific) Target path on server
	Url *string `json:"url,omitempty"`

	// VerifyCertificate (http specific) Treat target site as down if an invalid/unverifiable certificate is found.
	VerifyCertificate *bool `json:"verify_certificate,omitempty"`
}

HTTP defines model for HTTP.

type HTTPCustom

type HTTPCustom struct {
	// Additionalurls (httpcustom specific) ;-separated list of addidional URLs with hostname included.
	Additionalurls *string `json:"additionalurls,omitempty"`

	// Auth (httpcustom specific) Username and password for target HTTP authentication.
	Auth *string `json:"auth,omitempty"`

	// Encryption (httpcustom specific) Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (httpcustom specific) Target port
	Port *int `json:"port,omitempty"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int           `json:"responsetime_threshold,omitempty"`
	Type                  HTTPCustomType `json:"type"`

	// Url (httpcustom specific) Target path to XML file on server
	Url string `json:"url"`
}

HTTPCustom defines model for HTTP-Custom.

type HTTPCustomType

type HTTPCustomType string

HTTPCustomType defines model for HTTPCustom.Type.

const (
	Httpcustom HTTPCustomType = "httpcustom"
)

Defines values for HTTPCustomType.

type HTTPType

type HTTPType string

HTTPType defines model for HTTP.Type.

const (
	Http HTTPType = "http"
)

Defines values for HTTPType.

type Hours

type Hours struct {
	Hours *SummaryPerformanceResults `json:"hours,omitempty"`
}

Hours defines model for Hours.

type HttpAttributesBase

type HttpAttributesBase struct {
	// Encryption Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Port Target port
	Port *int `json:"port,omitempty"`

	// Postdata Data that should be posted to the web page, for example submission data for a sign-up or login form. The data needs to be formatted in the same way as a web browser would send it to the web server
	Postdata *string `json:"postdata,omitempty"`

	// Requestheaders Custom HTTP header. The entry value should contain a one-element string array. The element should contain `headerName` and `headerValue` colon-separated. To add more than one header send other parameters named `requestheaders{number}`.
	Requestheaders *[]string `json:"requestheaders,omitempty"`

	// Shouldcontain Target site should contain this string. Note! This parameter cannot be used together with the parameter “shouldnotcontain”, use only one of them in your request.
	Shouldcontain *string `json:"shouldcontain,omitempty"`

	// Shouldnotcontain Target site should NOT contain this string. Note! This parameter cannot be used together with the parameter “shouldcontain”, use only one of them in your request.
	Shouldnotcontain *string `json:"shouldnotcontain,omitempty"`

	// SslDownDaysBefore Treat the target site as down if a certificate expires within the given number of days. This parameter will be ignored if `verify_certificate` is set to `false`. It will appear provided `verify_certificate` is true and `ssl_down_days_before` value is greater than or equals 1.
	SslDownDaysBefore *int `json:"ssl_down_days_before,omitempty"`

	// Url Path to target on server
	Url *string `json:"url,omitempty"`

	// VerifyCertificate Treat target site as down if an invalid/unverifiable certificate is found.
	VerifyCertificate *bool `json:"verify_certificate,omitempty"`
}

HttpAttributesBase defines model for HttpAttributesBase.

type HttpAttributesGet

type HttpAttributesGet = HttpAttributesBase

HttpAttributesGet defines model for HttpAttributesGet.

type HttpAttributesSet

type HttpAttributesSet = HttpAttributesBase

HttpAttributesSet defines model for HttpAttributesSet.

type HttpAuthentications

type HttpAuthentications struct {
	// Credentials Basic Authentication credentials to use on host
	Credentials *struct {
		// Password Basic Authentication password
		Password *string `json:"password,omitempty"`

		// UserName Basic Authentication Username
		UserName *string `json:"userName,omitempty"`
	} `json:"credentials,omitempty"`
	Host *string `json:"host,omitempty"`
}

HttpAuthentications defines model for HttpAuthentications.

type HttpCertificateAttributes

type HttpCertificateAttributes struct {
	// SslDownDaysBefore Treat the target site as down if a certificate expires within the given number of days. This parameter will be ignored if `verify_certificate` is set to `false`.
	SslDownDaysBefore *int `json:"ssl_down_days_before,omitempty"`

	// VerifyCertificate Treat target site as down if an invalid/unverifiable certificate is found.
	VerifyCertificate *bool `json:"verify_certificate,omitempty"`
}

HttpCertificateAttributes defines model for HttpCertificateAttributes.

type HttpCustomAttributes

type HttpCustomAttributes = HttpCertificateAttributes

HttpCustomAttributes defines model for HttpCustomAttributes.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IMAP

type IMAP struct {
	// Encryption (imap specific) Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (imap specific) Target port
	Port *int `json:"port,omitempty"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Stringtoexpect (imap specific) String to expect in response
	Stringtoexpect *string  `json:"stringtoexpect,omitempty"`
	Type           IMAPType `json:"type"`
}

IMAP defines model for IMAP.

type IMAPType

type IMAPType string

IMAPType defines model for IMAP.Type.

const (
	Imap IMAPType = "imap"
)

Defines values for IMAPType.

type ImapAttributes

type ImapAttributes struct {
	// Port Target port
	Port *int `json:"port,omitempty"`

	// Stringtoexpect String to expect in response
	Stringtoexpect *string `json:"stringtoexpect,omitempty"`
}

ImapAttributes defines model for ImapAttributes.

type MaintenanceDeleteRespAttrs

type MaintenanceDeleteRespAttrs struct {
	// Message Result description
	Message *string `json:"message,omitempty"`
}

MaintenanceDeleteRespAttrs defines model for maintenance_delete_resp_attrs.

type MaintenanceId

type MaintenanceId = int

MaintenanceId defines model for maintenance_id.

type MaintenanceIdDeleteRespAttrs

type MaintenanceIdDeleteRespAttrs struct {
	// Message Result description
	Message *string `json:"message,omitempty"`
}

MaintenanceIdDeleteRespAttrs defines model for maintenance_id_delete_resp_attrs.

type MaintenanceIdPut

type MaintenanceIdPut struct {
	// Description Description
	Description *string `json:"description,omitempty"`

	// Effectiveto Recurrence end. Format UNIX time. Default: equal to `to`. (Only future allowed. Use 1 for the current timestamp.)
	Effectiveto *int `json:"effectiveto,omitempty"`

	// From Initial maintenance window start. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
	From *int `json:"from,omitempty"`

	// Recurrencetype Type of recurrence
	Recurrencetype *MaintenanceIdPutRecurrencetype `json:"recurrencetype,omitempty"`

	// Repeatevery Repeat every n-th day/week/month
	Repeatevery *int `json:"repeatevery,omitempty"`

	// Tmsids Identifiers of transaction checks to assign to the maintenance window - Comma separated Integers
	Tmsids *[]int `json:"tmsids,omitempty"`

	// To Initial maintenance window end. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
	To *int `json:"to,omitempty"`

	// Uptimeids Identifiers of uptime checks to assign to the maintenance window - Comma separated Integers
	Uptimeids *[]int `json:"uptimeids,omitempty"`
}

MaintenanceIdPut defines model for maintenance_id_put.

type MaintenanceIdPutRecurrencetype

type MaintenanceIdPutRecurrencetype string

MaintenanceIdPutRecurrencetype Type of recurrence

const (
	MaintenanceIdPutRecurrencetypeDay   MaintenanceIdPutRecurrencetype = "day"
	MaintenanceIdPutRecurrencetypeMonth MaintenanceIdPutRecurrencetype = "month"
	MaintenanceIdPutRecurrencetypeNone  MaintenanceIdPutRecurrencetype = "none"
	MaintenanceIdPutRecurrencetypeWeek  MaintenanceIdPutRecurrencetype = "week"
)

Defines values for MaintenanceIdPutRecurrencetype.

type MaintenanceIdPutRespAttrs

type MaintenanceIdPutRespAttrs struct {
	// Message Modification result description
	Message *string `json:"message,omitempty"`
}

MaintenanceIdPutRespAttrs defines model for maintenance_id_put_resp_attrs.

type MaintenanceIdRespAttrs

type MaintenanceIdRespAttrs struct {
	Maintenance *struct {
		// Checks Connected checks
		Checks *struct {
			// Tms Id of connected TMS check
			Tms *[]float32 `json:"tms,omitempty"`

			// Uptime Id of connected Uptime check
			Uptime *[]float32 `json:"uptime,omitempty"`
		} `json:"checks,omitempty"`

		// Description Description
		Description *string `json:"description,omitempty"`

		// Effectiveto Recurrence end. Format UNIX time.
		Effectiveto *float32 `json:"effectiveto,omitempty"`

		// From Initial maintenance window start. Format UNIX time.
		From *float32 `json:"from,omitempty"`

		// Id Maintenance window identifier
		Id *float32 `json:"id,omitempty"`

		// Recurrencetype Type of recurrence.
		Recurrencetype *string `json:"recurrencetype,omitempty"`

		// Repeatevery Repeat every n-th day/week/month
		Repeatevery *float32 `json:"repeatevery,omitempty"`

		// To Initial maintenance window end. Format UNIX time.
		To *float32 `json:"to,omitempty"`
	} `json:"maintenance,omitempty"`
}

MaintenanceIdRespAttrs defines model for maintenance_id_resp_attrs.

type MaintenanceLimit

type MaintenanceLimit = int

MaintenanceLimit defines model for maintenance_limit.

type MaintenanceOccurrencesDelete

type MaintenanceOccurrencesDelete struct {
	// Occurrenceids Comma-separated list of identifiers of maintenance occurrences to delete.
	Occurrenceids []int `json:"occurrenceids"`
}

MaintenanceOccurrencesDelete defines model for maintenance.occurrences_delete.

type MaintenanceOccurrencesDeleteRespAttrs

type MaintenanceOccurrencesDeleteRespAttrs struct {
	// Message Result description
	Message *string `json:"message,omitempty"`
}

MaintenanceOccurrencesDeleteRespAttrs defines model for maintenance.occurrences_delete_resp_attrs.

type MaintenanceOccurrencesFrom

type MaintenanceOccurrencesFrom = int

MaintenanceOccurrencesFrom defines model for maintenance.occurrences_from.

type MaintenanceOccurrencesId

type MaintenanceOccurrencesId = int

MaintenanceOccurrencesId defines model for maintenance.occurrences_id.

type MaintenanceOccurrencesIdDeleteRespAttrs

type MaintenanceOccurrencesIdDeleteRespAttrs struct {
	// Message Result description
	Message *string `json:"message,omitempty"`
}

MaintenanceOccurrencesIdDeleteRespAttrs defines model for maintenance.occurrences_id_delete_resp_attrs.

type MaintenanceOccurrencesIdPut

type MaintenanceOccurrencesIdPut struct {
	// From Beginning of the maintenance occurrence. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
	From *int `json:"from,omitempty"`

	// To End of the maintenance occurrence. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
	To *int `json:"to,omitempty"`
}

MaintenanceOccurrencesIdPut defines model for maintenance.occurrences_id_put.

type MaintenanceOccurrencesIdPutRespAttrs

type MaintenanceOccurrencesIdPutRespAttrs struct {
	// Message Modification result description
	Message *string `json:"message,omitempty"`
}

MaintenanceOccurrencesIdPutRespAttrs defines model for maintenance.occurrences_id_put_resp_attrs.

type MaintenanceOccurrencesIdRespAttrs

type MaintenanceOccurrencesIdRespAttrs struct {
	Occurrence *struct {
		// From Beginning of the occurrence. Format UNIX timestamp.
		From *float32 `json:"from,omitempty"`

		// Id Identifier of an occurence.
		Id *float32 `json:"id,omitempty"`

		// Maintenanceid Identifier of the related maintenance window.
		Maintenanceid *float32 `json:"maintenanceid,omitempty"`

		// To The end of the occurrence. Format UNIX timestamp.
		To *float32 `json:"to,omitempty"`
	} `json:"occurrence,omitempty"`
}

MaintenanceOccurrencesIdRespAttrs defines model for maintenance.occurrences_id_resp_attrs.

type MaintenanceOccurrencesMaintenanceid

type MaintenanceOccurrencesMaintenanceid = int

MaintenanceOccurrencesMaintenanceid defines model for maintenance.occurrences_maintenanceid.

type MaintenanceOccurrencesRespAttrs

type MaintenanceOccurrencesRespAttrs struct {
	// Occurrences A list of maintenance occurrences.
	Occurrences *[]struct {
		// From Beginning of the occurrence. Format UNIX timestamp.
		From *float32 `json:"from,omitempty"`

		// Id Identifier of an occurence.
		Id *float32 `json:"id,omitempty"`

		// Maintenanceid Identifier of the related maintenance window.
		Maintenanceid *float32 `json:"maintenanceid,omitempty"`

		// To The end of the occurrence. Format UNIX timestamp.
		To *float32 `json:"to,omitempty"`
	} `json:"occurrences,omitempty"`
}

MaintenanceOccurrencesRespAttrs defines model for maintenance.occurrences_resp_attrs.

type MaintenanceOccurrencesTo

type MaintenanceOccurrencesTo = int

MaintenanceOccurrencesTo defines model for maintenance.occurrences_to.

type MaintenanceOffset

type MaintenanceOffset = int

MaintenanceOffset defines model for maintenance_offset.

type MaintenanceOrder

type MaintenanceOrder string

MaintenanceOrder defines model for maintenance_order.

const (
	MaintenanceOrderAsc  MaintenanceOrder = "asc"
	MaintenanceOrderDesc MaintenanceOrder = "desc"
)

Defines values for MaintenanceOrder.

type MaintenanceOrderby

type MaintenanceOrderby string

MaintenanceOrderby defines model for maintenance_orderby.

const (
	Description MaintenanceOrderby = "description"
	Effectiveto MaintenanceOrderby = "effectiveto"
	From        MaintenanceOrderby = "from"
	To          MaintenanceOrderby = "to"
)

Defines values for MaintenanceOrderby.

type MaintenancePost

type MaintenancePost struct {
	// Description Description
	Description string `json:"description"`

	// Effectiveto Recurrence end. Format UNIX time. Default: equal to `to`. (Only future allowed. Use 1 for the current timestamp.)
	Effectiveto *int `json:"effectiveto,omitempty"`

	// From Initial maintenance window start. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
	From int `json:"from"`

	// Recurrencetype Type of recurrence.
	Recurrencetype *MaintenancePostRecurrencetype `json:"recurrencetype,omitempty"`

	// Repeatevery Repeat every n-th day/week/month
	Repeatevery *int `json:"repeatevery,omitempty"`

	// Tmsids Identifiers of transaction checks to assign to the maintenance window - Comma separated Integers
	Tmsids *[]int `json:"tmsids,omitempty"`

	// To Initial maintenance window end. Format UNIX time. (Only future allowed. Use 1 for the current timestamp.)
	To int `json:"to"`

	// Uptimeids Identifiers of uptime checks to assign to the maintenance window - Comma separated Integers
	Uptimeids *[]int `json:"uptimeids,omitempty"`
}

MaintenancePost defines model for maintenance_post.

type MaintenancePostRecurrencetype

type MaintenancePostRecurrencetype string

MaintenancePostRecurrencetype Type of recurrence.

const (
	MaintenancePostRecurrencetypeDay   MaintenancePostRecurrencetype = "day"
	MaintenancePostRecurrencetypeMonth MaintenancePostRecurrencetype = "month"
	MaintenancePostRecurrencetypeNone  MaintenancePostRecurrencetype = "none"
	MaintenancePostRecurrencetypeWeek  MaintenancePostRecurrencetype = "week"
)

Defines values for MaintenancePostRecurrencetype.

type MaintenancePostRespAttrs

type MaintenancePostRespAttrs struct {
	Maintenance *struct {
		// Id Unique id of the new maintenance window
		Id *int `json:"id,omitempty"`
	} `json:"maintenance,omitempty"`
}

MaintenancePostRespAttrs defines model for maintenance_post_resp_attrs.

type MaintenanceRespAttrs

type MaintenanceRespAttrs struct {
	// Maintenance A list of maintenance windows
	Maintenance *[]struct {
		// Checks Connected checks
		Checks *struct {
			// Tms List of connected Transaction checks
			Tms *[]int `json:"tms,omitempty"`

			// Uptime List of connected Uptime checks
			Uptime *[]int `json:"uptime,omitempty"`
		} `json:"checks,omitempty"`

		// Description Description
		Description *string `json:"description,omitempty"`

		// Effectiveto Recurrence end. Format UNIX time.
		Effectiveto *int `json:"effectiveto,omitempty"`

		// From Initial maintenance window start. Format UNIX time.
		From *int `json:"from,omitempty"`

		// Id Maintenance window identifier
		Id *int `json:"id,omitempty"`

		// Recurrencetype Type of recurrence.
		Recurrencetype *MaintenanceRespAttrsMaintenanceRecurrencetype `json:"recurrencetype,omitempty"`

		// Repeatevery Repeat every n-th day/week/month
		Repeatevery *int `json:"repeatevery,omitempty"`

		// To Initial maintenance window end. Format UNIX time.
		To *int `json:"to,omitempty"`
	} `json:"maintenance,omitempty"`
}

MaintenanceRespAttrs defines model for maintenance_resp_attrs.

type MaintenanceRespAttrsMaintenanceRecurrencetype

type MaintenanceRespAttrsMaintenanceRecurrencetype string

MaintenanceRespAttrsMaintenanceRecurrencetype Type of recurrence.

const (
	MaintenanceRespAttrsMaintenanceRecurrencetypeDay   MaintenanceRespAttrsMaintenanceRecurrencetype = "day"
	MaintenanceRespAttrsMaintenanceRecurrencetypeMonth MaintenanceRespAttrsMaintenanceRecurrencetype = "month"
	MaintenanceRespAttrsMaintenanceRecurrencetypeNone  MaintenanceRespAttrsMaintenanceRecurrencetype = "none"
	MaintenanceRespAttrsMaintenanceRecurrencetypeWeek  MaintenanceRespAttrsMaintenanceRecurrencetype = "week"
)

Defines values for MaintenanceRespAttrsMaintenanceRecurrencetype.

type Members

type Members struct {
	// Id Contact identifier
	Id *int `json:"id,omitempty"`

	// Name The team member’s name
	Name *string `json:"name,omitempty"`

	// Type Type defines whether the member is a user (login user) or a contact only
	Type *MembersType `json:"type,omitempty"`
}

Members defines model for Members.

type MembersType

type MembersType string

MembersType Type defines whether the member is a user (login user) or a contact only

const (
	MembersTypeContact MembersType = "contact"
	MembersTypeUser    MembersType = "user"
)

Defines values for MembersType.

type Metadata

type Metadata struct {
	// Authentications Allowed values are either an empty JSON object (no authentication) or Basic Authentication
	Authentications struct {
		// HttpAuthentications HTTP (browser-level) authentications. Currently, only Basic Authentication is supported
		HttpAuthentications *[]HttpAuthentications `json:"httpAuthentications,omitempty"`
	} `json:"authentications"`

	// DisableWebSecurity Setting this field to false will disable the same-origin policy during check execution
	DisableWebSecurity bool `json:"disableWebSecurity"`

	// Height Height of the browser window
	Height int `json:"height"`

	// Width Width of the browser window
	Width int `json:"width"`
}

Metadata Recording related metadata. Used for recordings only. Modify with caution!

type MetadataGET

type MetadataGET struct {
	// Authentications Allowed values are either an empty JSON object (no authentication) or Basic Authentication
	Authentications *struct {
		// HttpAuthentications HTTP (browser-level) authentications. Currently, only Basic Authentication is supported
		HttpAuthentications *[]HttpAuthentications `json:"httpAuthentications,omitempty"`
	} `json:"authentications,omitempty"`

	// DisableWebSecurity Setting this field to false will disable the same-origin policy during check execution
	DisableWebSecurity *bool `json:"disableWebSecurity,omitempty"`

	// Height Height of the browser window
	Height *int `json:"height,omitempty"`

	// Width Width of the browser window
	Width *int `json:"width,omitempty"`
}

MetadataGET Recording related metadata. Used for recordings only. Modify with caution!

type ModifyCheckJSONRequestBody

type ModifyCheckJSONRequestBody = CheckWithoutIDPUT

ModifyCheckJSONRequestBody defines body for ModifyCheck for application/json ContentType.

type ModifyCheckResponse

type ModifyCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CheckModifiedResponse
}

func ParseModifyCheckResponse

func ParseModifyCheckResponse(rsp *http.Response) (*ModifyCheckResponse, error)

ParseModifyCheckResponse parses an HTTP response from a ModifyCheckWithResponse call

func (ModifyCheckResponse) Status

func (r ModifyCheckResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyCheckResponse) StatusCode

func (r ModifyCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifyCheckSettings

type ModifyCheckSettings struct {
	// Addtags Check tags to add in addition to current check tags
	Addtags *[]string `json:"addtags,omitempty"`

	// Checkids Identifiers of checks to modify in bulk. For example checkids=1234,5678
	Checkids *string `json:"checkids,omitempty"`

	// CustomMessage Custom message that will be added to email and webhook alerts.
	CustomMessage *string `json:"custom_message,omitempty"`

	// Host Target host
	Host *string `json:"host,omitempty"`

	// Integrationids Integration identifiers. For example integrationids:[1,2,3].
	Integrationids *[]int `json:"integrationids,omitempty"`

	// Ipv6 Use ipv6 instead of ipv4, if an IP address is provided as host this will be overrided by the IP address version
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Name Check name
	Name *string `json:"name,omitempty"`

	// Notifyagainevery Notify again every n result. 0 means that no extra notifications will be sent.
	Notifyagainevery *int `json:"notifyagainevery,omitempty"`

	// Notifywhenbackup Notify when back up again
	Notifywhenbackup *bool `json:"notifywhenbackup,omitempty"`
	Paused           *bool `json:"paused,omitempty"`

	// ProbeFilters Filters used for probe selections. Overwrites previous filters for check. To remove all filters from a check, use an empty value. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'. For example, "region: NA".
	ProbeFilters *[]string `json:"probe_filters,omitempty"`

	// Resolution How often should the check be tested? (minutes)
	Resolution *ModifyCheckSettingsResolution `json:"resolution,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Sendnotificationwhendown Send notification when down X times
	Sendnotificationwhendown *int `json:"sendnotificationwhendown,omitempty"`

	// Tags List of tags for check. The maximum length of a tag is 64 characters.
	Tags *[]string `json:"tags,omitempty"`

	// Teamids Teams to alert. Comma separated Integers.
	Teamids *string `json:"teamids,omitempty"`

	// Userids User identifiers. For example userids=154325,465231,765871
	Userids *string `json:"userids,omitempty"`
	// contains filtered or unexported fields
}

ModifyCheckSettings defines model for ModifyCheckSettings.

func (ModifyCheckSettings) AsDnsAttributes

func (t ModifyCheckSettings) AsDnsAttributes() (DnsAttributes, error)

AsDnsAttributes returns the union data inside the ModifyCheckSettings as a DnsAttributes

func (ModifyCheckSettings) AsHttpAttributesSet

func (t ModifyCheckSettings) AsHttpAttributesSet() (HttpAttributesSet, error)

AsHttpAttributesSet returns the union data inside the ModifyCheckSettings as a HttpAttributesSet

func (ModifyCheckSettings) AsHttpCustomAttributes

func (t ModifyCheckSettings) AsHttpCustomAttributes() (HttpCustomAttributes, error)

AsHttpCustomAttributes returns the union data inside the ModifyCheckSettings as a HttpCustomAttributes

func (ModifyCheckSettings) AsImapAttributes

func (t ModifyCheckSettings) AsImapAttributes() (ImapAttributes, error)

AsImapAttributes returns the union data inside the ModifyCheckSettings as a ImapAttributes

func (ModifyCheckSettings) AsPop3Attributes

func (t ModifyCheckSettings) AsPop3Attributes() (Pop3Attributes, error)

AsPop3Attributes returns the union data inside the ModifyCheckSettings as a Pop3Attributes

func (ModifyCheckSettings) AsSmtpAttributesSet

func (t ModifyCheckSettings) AsSmtpAttributesSet() (SmtpAttributesSet, error)

AsSmtpAttributesSet returns the union data inside the ModifyCheckSettings as a SmtpAttributesSet

func (ModifyCheckSettings) AsTcpAttributes

func (t ModifyCheckSettings) AsTcpAttributes() (TcpAttributes, error)

AsTcpAttributes returns the union data inside the ModifyCheckSettings as a TcpAttributes

func (ModifyCheckSettings) AsUdpAttributes

func (t ModifyCheckSettings) AsUdpAttributes() (UdpAttributes, error)

AsUdpAttributes returns the union data inside the ModifyCheckSettings as a UdpAttributes

func (*ModifyCheckSettings) FromDnsAttributes

func (t *ModifyCheckSettings) FromDnsAttributes(v DnsAttributes) error

FromDnsAttributes overwrites any union data inside the ModifyCheckSettings as the provided DnsAttributes

func (*ModifyCheckSettings) FromHttpAttributesSet

func (t *ModifyCheckSettings) FromHttpAttributesSet(v HttpAttributesSet) error

FromHttpAttributesSet overwrites any union data inside the ModifyCheckSettings as the provided HttpAttributesSet

func (*ModifyCheckSettings) FromHttpCustomAttributes

func (t *ModifyCheckSettings) FromHttpCustomAttributes(v HttpCustomAttributes) error

FromHttpCustomAttributes overwrites any union data inside the ModifyCheckSettings as the provided HttpCustomAttributes

func (*ModifyCheckSettings) FromImapAttributes

func (t *ModifyCheckSettings) FromImapAttributes(v ImapAttributes) error

FromImapAttributes overwrites any union data inside the ModifyCheckSettings as the provided ImapAttributes

func (*ModifyCheckSettings) FromPop3Attributes

func (t *ModifyCheckSettings) FromPop3Attributes(v Pop3Attributes) error

FromPop3Attributes overwrites any union data inside the ModifyCheckSettings as the provided Pop3Attributes

func (*ModifyCheckSettings) FromSmtpAttributesSet

func (t *ModifyCheckSettings) FromSmtpAttributesSet(v SmtpAttributesSet) error

FromSmtpAttributesSet overwrites any union data inside the ModifyCheckSettings as the provided SmtpAttributesSet

func (*ModifyCheckSettings) FromTcpAttributes

func (t *ModifyCheckSettings) FromTcpAttributes(v TcpAttributes) error

FromTcpAttributes overwrites any union data inside the ModifyCheckSettings as the provided TcpAttributes

func (*ModifyCheckSettings) FromUdpAttributes

func (t *ModifyCheckSettings) FromUdpAttributes(v UdpAttributes) error

FromUdpAttributes overwrites any union data inside the ModifyCheckSettings as the provided UdpAttributes

func (ModifyCheckSettings) MarshalJSON

func (t ModifyCheckSettings) MarshalJSON() ([]byte, error)

func (*ModifyCheckSettings) MergeDnsAttributes

func (t *ModifyCheckSettings) MergeDnsAttributes(v DnsAttributes) error

MergeDnsAttributes performs a merge with any union data inside the ModifyCheckSettings, using the provided DnsAttributes

func (*ModifyCheckSettings) MergeHttpAttributesSet

func (t *ModifyCheckSettings) MergeHttpAttributesSet(v HttpAttributesSet) error

MergeHttpAttributesSet performs a merge with any union data inside the ModifyCheckSettings, using the provided HttpAttributesSet

func (*ModifyCheckSettings) MergeHttpCustomAttributes

func (t *ModifyCheckSettings) MergeHttpCustomAttributes(v HttpCustomAttributes) error

MergeHttpCustomAttributes performs a merge with any union data inside the ModifyCheckSettings, using the provided HttpCustomAttributes

func (*ModifyCheckSettings) MergeImapAttributes

func (t *ModifyCheckSettings) MergeImapAttributes(v ImapAttributes) error

MergeImapAttributes performs a merge with any union data inside the ModifyCheckSettings, using the provided ImapAttributes

func (*ModifyCheckSettings) MergePop3Attributes

func (t *ModifyCheckSettings) MergePop3Attributes(v Pop3Attributes) error

MergePop3Attributes performs a merge with any union data inside the ModifyCheckSettings, using the provided Pop3Attributes

func (*ModifyCheckSettings) MergeSmtpAttributesSet

func (t *ModifyCheckSettings) MergeSmtpAttributesSet(v SmtpAttributesSet) error

MergeSmtpAttributesSet performs a merge with any union data inside the ModifyCheckSettings, using the provided SmtpAttributesSet

func (*ModifyCheckSettings) MergeTcpAttributes

func (t *ModifyCheckSettings) MergeTcpAttributes(v TcpAttributes) error

MergeTcpAttributes performs a merge with any union data inside the ModifyCheckSettings, using the provided TcpAttributes

func (*ModifyCheckSettings) MergeUdpAttributes

func (t *ModifyCheckSettings) MergeUdpAttributes(v UdpAttributes) error

MergeUdpAttributes performs a merge with any union data inside the ModifyCheckSettings, using the provided UdpAttributes

func (*ModifyCheckSettings) UnmarshalJSON

func (t *ModifyCheckSettings) UnmarshalJSON(b []byte) error

type ModifyCheckSettingsResolution

type ModifyCheckSettingsResolution int

ModifyCheckSettingsResolution How often should the check be tested? (minutes)

const (
	ModifyCheckSettingsResolutionN1  ModifyCheckSettingsResolution = 1
	ModifyCheckSettingsResolutionN15 ModifyCheckSettingsResolution = 15
	ModifyCheckSettingsResolutionN30 ModifyCheckSettingsResolution = 30
	ModifyCheckSettingsResolutionN5  ModifyCheckSettingsResolution = 5
	ModifyCheckSettingsResolutionN60 ModifyCheckSettingsResolution = 60
)

Defines values for ModifyCheckSettingsResolution.

type NumberFormat

type NumberFormat struct {
	// Description Number format description
	Description *string `json:"description,omitempty"`

	// Id Number format identifier
	Id *int `json:"id,omitempty"`
}

NumberFormat defines model for NumberFormat.

type POP3

type POP3 struct {
	// Encryption (pop3 specific) Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (pop3 specific) Target port
	Port *int `json:"port,omitempty"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Stringtoexpect (pop3 specific) String to expect in response
	Stringtoexpect *string  `json:"stringtoexpect,omitempty"`
	Type           POP3Type `json:"type"`
}

POP3 defines model for POP3.

type POP3Type

type POP3Type string

POP3Type defines model for POP3.Type.

const (
	Pop3 POP3Type = "pop3"
)

Defines values for POP3Type.

type PhoneCode

type PhoneCode struct {
	// Countryid Country id (Can be mapped against countries.id)
	Countryid *int `json:"countryid,omitempty"`

	// Name Country name
	Name *string `json:"name,omitempty"`

	// Phonecode Area phone code
	Phonecode *string `json:"phonecode,omitempty"`
}

PhoneCode defines model for PhoneCode.

type Pop3Attributes

type Pop3Attributes struct {
	// Port Target port
	Port *int `json:"port,omitempty"`

	// Stringtoexpect String to expect in response
	Stringtoexpect *string `json:"stringtoexpect,omitempty"`
}

Pop3Attributes defines model for Pop3Attributes.

type PostAlertingContactsJSONRequestBody

type PostAlertingContactsJSONRequestBody = CreateContact

PostAlertingContactsJSONRequestBody defines body for PostAlertingContacts for application/json ContentType.

type PostAlertingContactsResponse

type PostAlertingContactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Contact *struct {
			// Id ID of the created contact
			Id *string `json:"id,omitempty"`
		} `json:"contact,omitempty"`
	}
}

func ParsePostAlertingContactsResponse

func ParsePostAlertingContactsResponse(rsp *http.Response) (*PostAlertingContactsResponse, error)

ParsePostAlertingContactsResponse parses an HTTP response from a PostAlertingContactsWithResponse call

func (PostAlertingContactsResponse) Status

Status returns HTTPResponse.Status

func (PostAlertingContactsResponse) StatusCode

func (r PostAlertingContactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAlertingTeamsJSONRequestBody

type PostAlertingTeamsJSONRequestBody = CreateTeam

PostAlertingTeamsJSONRequestBody defines body for PostAlertingTeams for application/json ContentType.

type PostAlertingTeamsResponse

type PostAlertingTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Team *struct {
			// Id ID of the created team
			Id *string `json:"id,omitempty"`
		} `json:"team,omitempty"`
	}
}

func ParsePostAlertingTeamsResponse

func ParsePostAlertingTeamsResponse(rsp *http.Response) (*PostAlertingTeamsResponse, error)

ParsePostAlertingTeamsResponse parses an HTTP response from a PostAlertingTeamsWithResponse call

func (PostAlertingTeamsResponse) Status

func (r PostAlertingTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (PostAlertingTeamsResponse) StatusCode

func (r PostAlertingTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostChecksFormdataRequestBody

type PostChecksFormdataRequestBody = CreateCheck

PostChecksFormdataRequestBody defines body for PostChecks for application/x-www-form-urlencoded ContentType.

type PostChecksJSONRequestBody

type PostChecksJSONRequestBody = CreateCheck

PostChecksJSONRequestBody defines body for PostChecks for application/json ContentType.

type PostChecksResponse

type PostChecksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Check *struct {
			// Id Created check ID.
			Id *int `json:"id,omitempty"`

			// Name Created check name.
			Name *string `json:"name,omitempty"`
		} `json:"check,omitempty"`
	}
}

func ParsePostChecksResponse

func ParsePostChecksResponse(rsp *http.Response) (*PostChecksResponse, error)

ParsePostChecksResponse parses an HTTP response from a PostChecksWithResponse call

func (PostChecksResponse) Status

func (r PostChecksResponse) Status() string

Status returns HTTPResponse.Status

func (PostChecksResponse) StatusCode

func (r PostChecksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostMaintenanceFormdataRequestBody

type PostMaintenanceFormdataRequestBody = MaintenancePost

PostMaintenanceFormdataRequestBody defines body for PostMaintenance for application/x-www-form-urlencoded ContentType.

type PostMaintenanceJSONRequestBody

type PostMaintenanceJSONRequestBody = MaintenancePost

PostMaintenanceJSONRequestBody defines body for PostMaintenance for application/json ContentType.

type PostMaintenanceResponse

type PostMaintenanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenancePostRespAttrs
}

func ParsePostMaintenanceResponse

func ParsePostMaintenanceResponse(rsp *http.Response) (*PostMaintenanceResponse, error)

ParsePostMaintenanceResponse parses an HTTP response from a PostMaintenanceWithResponse call

func (PostMaintenanceResponse) Status

func (r PostMaintenanceResponse) Status() string

Status returns HTTPResponse.Status

func (PostMaintenanceResponse) StatusCode

func (r PostMaintenanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Probe

type Probe struct {
	// Active Is the probe currently active?
	Active  *bool   `json:"active,omitempty"`
	City    *string `json:"city,omitempty"`
	Country *string `json:"country,omitempty"`

	// Countryiso Country ISO code
	Countryiso *string `json:"countryiso,omitempty"`

	// Hostname DNS name
	Hostname *string `json:"hostname,omitempty"`
	Id       *int    `json:"id,omitempty"`

	// Ip IPv4 address
	Ip *string `json:"ip,omitempty"`

	// Ipv6 IPv6 address (not all probes have this)
	Ipv6 *string `json:"ipv6,omitempty"`
	Name *string `json:"name,omitempty"`
}

Probe defines model for Probe.

type Probes

type Probes struct {
	Probes *[]Probe `json:"probes,omitempty"`
}

Probes defines model for Probes.

type PropertyCheckID

type PropertyCheckID = int64

PropertyCheckID ID of the check

type PropertyCheckName

type PropertyCheckName = string

PropertyCheckName Name of the check

type PropertyFrom

type PropertyFrom = time.Time

PropertyFrom Interval start. The format is `RFC 3339`

type PutAlertingContactsContactidJSONRequestBody

type PutAlertingContactsContactidJSONRequestBody = UpdateContact

PutAlertingContactsContactidJSONRequestBody defines body for PutAlertingContactsContactid for application/json ContentType.

type PutAlertingContactsContactidResponse

type PutAlertingContactsContactidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Contact
}

func ParsePutAlertingContactsContactidResponse

func ParsePutAlertingContactsContactidResponse(rsp *http.Response) (*PutAlertingContactsContactidResponse, error)

ParsePutAlertingContactsContactidResponse parses an HTTP response from a PutAlertingContactsContactidWithResponse call

func (PutAlertingContactsContactidResponse) Status

Status returns HTTPResponse.Status

func (PutAlertingContactsContactidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutAlertingTeamsTeamidJSONRequestBody

type PutAlertingTeamsTeamidJSONRequestBody = UpdateTeam

PutAlertingTeamsTeamidJSONRequestBody defines body for PutAlertingTeamsTeamid for application/json ContentType.

type PutAlertingTeamsTeamidResponse

type PutAlertingTeamsTeamidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TeamID
}

func ParsePutAlertingTeamsTeamidResponse

func ParsePutAlertingTeamsTeamidResponse(rsp *http.Response) (*PutAlertingTeamsTeamidResponse, error)

ParsePutAlertingTeamsTeamidResponse parses an HTTP response from a PutAlertingTeamsTeamidWithResponse call

func (PutAlertingTeamsTeamidResponse) Status

Status returns HTTPResponse.Status

func (PutAlertingTeamsTeamidResponse) StatusCode

func (r PutAlertingTeamsTeamidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutChecksCheckidFormdataRequestBody

type PutChecksCheckidFormdataRequestBody = ModifyCheckSettings

PutChecksCheckidFormdataRequestBody defines body for PutChecksCheckid for application/x-www-form-urlencoded ContentType.

type PutChecksCheckidJSONRequestBody

type PutChecksCheckidJSONRequestBody = ModifyCheckSettings

PutChecksCheckidJSONRequestBody defines body for PutChecksCheckid for application/json ContentType.

type PutChecksCheckidResponse

type PutChecksCheckidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Message *string `json:"message,omitempty"`
	}
}

func ParsePutChecksCheckidResponse

func ParsePutChecksCheckidResponse(rsp *http.Response) (*PutChecksCheckidResponse, error)

ParsePutChecksCheckidResponse parses an HTTP response from a PutChecksCheckidWithResponse call

func (PutChecksCheckidResponse) Status

func (r PutChecksCheckidResponse) Status() string

Status returns HTTPResponse.Status

func (PutChecksCheckidResponse) StatusCode

func (r PutChecksCheckidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutChecksFormdataBody

type PutChecksFormdataBody struct {
	// Checkids Comma-separated list of identifiers for checks to be modified. Invalid check identifiers will be ignored. Default: all checks
	Checkids *string `form:"checkids,omitempty" json:"checkids,omitempty"`

	// Paused Use value: true to pause the check(s) and value: false to unpause it(them).
	Paused     *bool                            `form:"paused,omitempty" json:"paused,omitempty"`
	Resolution *PutChecksFormdataBodyResolution `form:"resolution,omitempty" json:"resolution,omitempty"`
}

PutChecksFormdataBody defines parameters for PutChecks.

type PutChecksFormdataBodyResolution

type PutChecksFormdataBodyResolution int

PutChecksFormdataBodyResolution defines parameters for PutChecks.

const (
	PutChecksFormdataBodyResolutionN1  PutChecksFormdataBodyResolution = 1
	PutChecksFormdataBodyResolutionN15 PutChecksFormdataBodyResolution = 15
	PutChecksFormdataBodyResolutionN30 PutChecksFormdataBodyResolution = 30
	PutChecksFormdataBodyResolutionN5  PutChecksFormdataBodyResolution = 5
	PutChecksFormdataBodyResolutionN60 PutChecksFormdataBodyResolution = 60
)

Defines values for PutChecksFormdataBodyResolution.

type PutChecksFormdataRequestBody

type PutChecksFormdataRequestBody PutChecksFormdataBody

PutChecksFormdataRequestBody defines body for PutChecks for application/x-www-form-urlencoded ContentType.

type PutChecksJSONBody

type PutChecksJSONBody struct {
	// Checkids Comma-separated list of identifiers for checks to be modified. Invalid check identifiers will be ignored. Default: all checks
	Checkids *string `json:"checkids,omitempty"`

	// Paused Use value: true to pause the check(s) and value: false to unpause it(them).
	Paused     *bool                        `json:"paused,omitempty"`
	Resolution *PutChecksJSONBodyResolution `json:"resolution,omitempty"`
}

PutChecksJSONBody defines parameters for PutChecks.

type PutChecksJSONBodyResolution

type PutChecksJSONBodyResolution int

PutChecksJSONBodyResolution defines parameters for PutChecks.

const (
	PutChecksJSONBodyResolutionN1  PutChecksJSONBodyResolution = 1
	PutChecksJSONBodyResolutionN15 PutChecksJSONBodyResolution = 15
	PutChecksJSONBodyResolutionN30 PutChecksJSONBodyResolution = 30
	PutChecksJSONBodyResolutionN5  PutChecksJSONBodyResolution = 5
	PutChecksJSONBodyResolutionN60 PutChecksJSONBodyResolution = 60
)

Defines values for PutChecksJSONBodyResolution.

type PutChecksJSONRequestBody

type PutChecksJSONRequestBody PutChecksJSONBody

PutChecksJSONRequestBody defines body for PutChecks for application/json ContentType.

type PutChecksResponse

type PutChecksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Message *string `json:"message,omitempty"`
	}
}

func ParsePutChecksResponse

func ParsePutChecksResponse(rsp *http.Response) (*PutChecksResponse, error)

ParsePutChecksResponse parses an HTTP response from a PutChecksWithResponse call

func (PutChecksResponse) Status

func (r PutChecksResponse) Status() string

Status returns HTTPResponse.Status

func (PutChecksResponse) StatusCode

func (r PutChecksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutMaintenanceIdFormdataRequestBody

type PutMaintenanceIdFormdataRequestBody = MaintenanceIdPut

PutMaintenanceIdFormdataRequestBody defines body for PutMaintenanceId for application/x-www-form-urlencoded ContentType.

type PutMaintenanceIdJSONRequestBody

type PutMaintenanceIdJSONRequestBody = MaintenanceIdPut

PutMaintenanceIdJSONRequestBody defines body for PutMaintenanceId for application/json ContentType.

type PutMaintenanceIdResponse

type PutMaintenanceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceIdPutRespAttrs
}

func ParsePutMaintenanceIdResponse

func ParsePutMaintenanceIdResponse(rsp *http.Response) (*PutMaintenanceIdResponse, error)

ParsePutMaintenanceIdResponse parses an HTTP response from a PutMaintenanceIdWithResponse call

func (PutMaintenanceIdResponse) Status

func (r PutMaintenanceIdResponse) Status() string

Status returns HTTPResponse.Status

func (PutMaintenanceIdResponse) StatusCode

func (r PutMaintenanceIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutMaintenanceOccurrencesIdFormdataRequestBody

type PutMaintenanceOccurrencesIdFormdataRequestBody = MaintenanceOccurrencesIdPut

PutMaintenanceOccurrencesIdFormdataRequestBody defines body for PutMaintenanceOccurrencesId for application/x-www-form-urlencoded ContentType.

type PutMaintenanceOccurrencesIdJSONRequestBody

type PutMaintenanceOccurrencesIdJSONRequestBody = MaintenanceOccurrencesIdPut

PutMaintenanceOccurrencesIdJSONRequestBody defines body for PutMaintenanceOccurrencesId for application/json ContentType.

type PutMaintenanceOccurrencesIdResponse

type PutMaintenanceOccurrencesIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MaintenanceOccurrencesIdPutRespAttrs
}

func ParsePutMaintenanceOccurrencesIdResponse

func ParsePutMaintenanceOccurrencesIdResponse(rsp *http.Response) (*PutMaintenanceOccurrencesIdResponse, error)

ParsePutMaintenanceOccurrencesIdResponse parses an HTTP response from a PutMaintenanceOccurrencesIdWithResponse call

func (PutMaintenanceOccurrencesIdResponse) Status

Status returns HTTPResponse.Status

func (PutMaintenanceOccurrencesIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type References

type References struct {
	Countries       *[]Country        `json:"countries,omitempty"`
	Datetimeformats *[]DateTimeFormat `json:"datetimeformats,omitempty"`
	Numberformats   *[]NumberFormat   `json:"numberformats,omitempty"`
	Phonecodes      *[]PhoneCode      `json:"phonecodes,omitempty"`
	Regions         *[]Region         `json:"regions,omitempty"`
	Timezones       *[]Timezone       `json:"timezones,omitempty"`
}

References defines model for References.

type Region

type Region struct {
	// Countryid Corresponding country identifier
	Countryid *int `json:"countryid,omitempty"`

	// Datetimeformatid Corresponding datetimeformat identifier
	Datetimeformatid *int `json:"datetimeformatid,omitempty"`

	// Description Region description
	Description *string `json:"description,omitempty"`

	// Id Region identifier
	Id *int `json:"id,omitempty"`

	// Numberformatid Corresponding numberformat identifier
	Numberformatid *int `json:"numberformatid,omitempty"`

	// Timezoneid Corresponding timezon identifier
	Timezoneid *int `json:"timezoneid,omitempty"`
}

Region defines model for Region.

type ReportPerformance

type ReportPerformance struct {
	Report *struct {
		// CheckId ID of the check
		CheckId *PropertyCheckID `json:"check_id,omitempty"`

		// Intervals Intervals for which the measurements were performed.
		Intervals *[]struct {
			// AverageResponse Average response times in milliseconds
			AverageResponse *AverageResponse `json:"average_response,omitempty"`

			// Downtime Amount of time when the check was down within given interval (only with the `include_uptime` flag)
			Downtime *Downtime `json:"downtime,omitempty"`

			// From Interval start. The format is `RFC 3339`
			From  *PropertyFrom `json:"from,omitempty"`
			Steps *[]struct {
				// AverageResponse Average response times in milliseconds
				AverageResponse *AverageResponse `json:"average_response,omitempty"`

				// Step Step is a struct describing a single step of a TMS check
				Step *Step `json:"step,omitempty"`
			} `json:"steps,omitempty"`

			// Unmonitored Amount of time when there is no specific data about check status (up/down) within given interval (only with the `include_uptime` flag)
			Unmonitored *Unmonitored `json:"unmonitored,omitempty"`

			// Uptime Amount of time when the check was up within given interval (only with the `include_uptime` flag)
			Uptime *Uptime `json:"uptime,omitempty"`
		} `json:"intervals,omitempty"`

		// Name Name of the check
		Name *PropertyCheckName `json:"name,omitempty"`

		// Resolution Size of a time bucket for which the results are calculated
		Resolution *ReportPerformanceReportResolution `json:"resolution,omitempty"`
	} `json:"report,omitempty"`
}

ReportPerformance defines model for ReportPerformance.

type ReportPerformanceReportResolution

type ReportPerformanceReportResolution string

ReportPerformanceReportResolution Size of a time bucket for which the results are calculated

const (
	ReportPerformanceReportResolutionDay  ReportPerformanceReportResolution = "day"
	ReportPerformanceReportResolutionHour ReportPerformanceReportResolution = "hour"
	ReportPerformanceReportResolutionWeek ReportPerformanceReportResolution = "week"
)

Defines values for ReportPerformanceReportResolution.

type ReportStatusAll

type ReportStatusAll struct {
	Report *[]CheckStatusID `json:"report,omitempty"`
}

ReportStatusAll defines model for ReportStatusAll.

type ReportStatusSingle

type ReportStatusSingle struct {
	CheckStatusID *CheckStatusID `json:"report,omitempty"`
}

ReportStatusSingle defines model for ReportStatusSingle.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResultsCheckid

type ResultsCheckid = int

ResultsCheckid defines model for results_checkid.

type ResultsFrom

type ResultsFrom = int

ResultsFrom defines model for results_from.

type ResultsIncludeanalysis

type ResultsIncludeanalysis = bool

ResultsIncludeanalysis defines model for results_includeanalysis.

type ResultsLimit

type ResultsLimit = int

ResultsLimit defines model for results_limit.

type ResultsMaxresponse

type ResultsMaxresponse = int

ResultsMaxresponse defines model for results_maxresponse.

type ResultsMinresponse

type ResultsMinresponse = int

ResultsMinresponse defines model for results_minresponse.

type ResultsOffset

type ResultsOffset = int

ResultsOffset defines model for results_offset.

type ResultsProbes

type ResultsProbes = string

ResultsProbes Default: all probes

type ResultsRespAttrs

type ResultsRespAttrs struct {
	// Activeprobes For your convenience, a list of used probes that produced the showed results
	Activeprobes *[]float32 `json:"activeprobes,omitempty"`
	Results      *[]struct {
		// Probeid Probe identifier
		Probeid *float32 `json:"probeid,omitempty"`

		// Responsetime Response time (in milliseconds) (Will be 0 if no response was received)
		Responsetime *float32 `json:"responsetime,omitempty"`

		// Status Result status
		Status *ResultsRespAttrsResultsStatus `json:"status,omitempty"`

		// Statusdesc Short status description
		Statusdesc *string `json:"statusdesc,omitempty"`

		// Statusdesclong Long status description
		Statusdesclong *string `json:"statusdesclong,omitempty"`

		// Time Time when test was performed. Format is UNIX timestamp
		Time *float32 `json:"time,omitempty"`
	} `json:"results,omitempty"`
}

ResultsRespAttrs defines model for results_resp_attrs.

type ResultsRespAttrsResultsStatus

type ResultsRespAttrsResultsStatus string

ResultsRespAttrsResultsStatus Result status

const (
	ResultsRespAttrsResultsStatusDown        ResultsRespAttrsResultsStatus = "down"
	ResultsRespAttrsResultsStatusUnconfirmed ResultsRespAttrsResultsStatus = "unconfirmed"
	ResultsRespAttrsResultsStatusUnknown     ResultsRespAttrsResultsStatus = "unknown"
	ResultsRespAttrsResultsStatusUp          ResultsRespAttrsResultsStatus = "up"
)

Defines values for ResultsRespAttrsResultsStatus.

type ResultsStatus

type ResultsStatus = string

ResultsStatus Default: all statuses

type ResultsTo

type ResultsTo = int

ResultsTo defines model for results_to.

type SMSes

type SMSes = []struct {
	// CountryCode Country code
	CountryCode *string `json:"country_code,omitempty"`

	// Number Phone number
	Number *string `json:"number,omitempty"`

	// Provider Provider
	Provider *string `json:"provider,omitempty"`

	// Severity Contact target's severity level
	Severity *string `json:"severity,omitempty"`
}

SMSes defines model for SMSes.

type SMTP

type SMTP struct {
	// Auth (smtp specific) Username and password for target HTTP authentication.
	Auth *string `json:"auth,omitempty"`

	// Encryption (smtp specific) Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (smtp specific) Target port
	Port *int `json:"port,omitempty"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Stringtoexpect (smtp specific) String to expect in response
	Stringtoexpect *string  `json:"stringtoexpect,omitempty"`
	Type           SMTPType `json:"type"`
}

SMTP defines model for SMTP.

type SMTPType

type SMTPType string

SMTPType defines model for SMTP.Type.

const (
	Smtp SMTPType = "smtp"
)

Defines values for SMTPType.

type ServerInterface

type ServerInterface interface {
	// Returns a list of actions alerts.
	// (GET /actions)
	GetActions(ctx echo.Context, params GetActionsParams) error
	// Returns a list of all contacts
	// (GET /alerting/contacts)
	GetAlertingContacts(ctx echo.Context) error
	// Creates a new contact
	// (POST /alerting/contacts)
	PostAlertingContacts(ctx echo.Context) error
	// Deletes a contact with its contact methods
	// (DELETE /alerting/contacts/{contactid})
	DeleteAlertingContactsContactid(ctx echo.Context, contactid int) error
	// Returns a contact with its contact methods
	// (GET /alerting/contacts/{contactid})
	GetAlertingContactsContactid(ctx echo.Context, contactid int) error
	// Update a contact
	// (PUT /alerting/contacts/{contactid})
	PutAlertingContactsContactid(ctx echo.Context, contactid int) error

	// (GET /alerting/teams)
	GetAlertingTeams(ctx echo.Context) error
	// Creates a new team
	// (POST /alerting/teams)
	PostAlertingTeams(ctx echo.Context) error

	// (DELETE /alerting/teams/{teamid})
	DeleteAlertingTeamsTeamid(ctx echo.Context, teamid int) error

	// (GET /alerting/teams/{teamid})
	GetAlertingTeamsTeamid(ctx echo.Context, teamid int) error

	// (PUT /alerting/teams/{teamid})
	PutAlertingTeamsTeamid(ctx echo.Context, teamid int) error
	// Returns a list of the latest root cause analysis
	// (GET /analysis/{checkid})
	GetAnalysisCheckid(ctx echo.Context, checkid AnalysisCheckid, params GetAnalysisCheckidParams) error
	// Returns the raw result for a specified analysis.
	// (GET /analysis/{checkid}/{analysisid})
	GetAnalysisCheckidAnalysisid(ctx echo.Context, checkid AnalysisCheckid, analysisid AnalysisAnalysisid) error
	// Deletes a list of checks.
	// (DELETE /checks)
	DeleteChecks(ctx echo.Context, params DeleteChecksParams) error

	// (GET /checks)
	GetChecks(ctx echo.Context, params GetChecksParams) error
	// Creates a new check.
	// (POST /checks)
	PostChecks(ctx echo.Context) error
	// Pause or change resolution for multiple checks.
	// (PUT /checks)
	PutChecks(ctx echo.Context) error
	// Deletes a check.
	// (DELETE /checks/{checkid})
	DeleteChecksCheckid(ctx echo.Context, checkid int) error
	// Returns a detailed description of a check.
	// (GET /checks/{checkid})
	GetChecksCheckid(ctx echo.Context, checkid int, params GetChecksCheckidParams) error
	// Modify settings for a check.
	// (PUT /checks/{checkid})
	PutChecksCheckid(ctx echo.Context, checkid int) error
	// Returns information about remaining credits
	// (GET /credits)
	GetCredits(ctx echo.Context) error
	// Delete multiple maintenance windows.
	// (DELETE /maintenance)
	DeleteMaintenance(ctx echo.Context, params DeleteMaintenanceParams) error

	// (GET /maintenance)
	GetMaintenance(ctx echo.Context, params GetMaintenanceParams) error

	// (POST /maintenance)
	PostMaintenance(ctx echo.Context) error
	// Deletes multiple maintenance occurrences
	// (DELETE /maintenance.occurrences)
	DeleteMaintenanceOccurrences(ctx echo.Context, params DeleteMaintenanceOccurrencesParams) error
	// Returns a list of maintenance occurrences.
	// (GET /maintenance.occurrences)
	GetMaintenanceOccurrences(ctx echo.Context, params GetMaintenanceOccurrencesParams) error
	// Deletes the maintenance occurrence
	// (DELETE /maintenance.occurrences/{id})
	DeleteMaintenanceOccurrencesId(ctx echo.Context, id MaintenanceOccurrencesId) error
	// Gets a maintenance occurrence details
	// (GET /maintenance.occurrences/{id})
	GetMaintenanceOccurrencesId(ctx echo.Context, id MaintenanceOccurrencesId) error
	// Modifies a maintenance occurrence
	// (PUT /maintenance.occurrences/{id})
	PutMaintenanceOccurrencesId(ctx echo.Context, id MaintenanceOccurrencesId) error
	// Delete the maintenance window.
	// (DELETE /maintenance/{id})
	DeleteMaintenanceId(ctx echo.Context, id MaintenanceId) error

	// (GET /maintenance/{id})
	GetMaintenanceId(ctx echo.Context, id MaintenanceId) error

	// (PUT /maintenance/{id})
	PutMaintenanceId(ctx echo.Context, id MaintenanceId) error
	// Returns a list of Pingdom probe servers
	// (GET /probes)
	GetProbes(ctx echo.Context, params GetProbesParams) error
	// Get regions, timezone and date/time/number references
	// (GET /reference)
	GetReference(ctx echo.Context) error
	// Return a list of raw test results
	// (GET /results/{checkid})
	GetResultsCheckid(ctx echo.Context, checkid ResultsCheckid, params GetResultsCheckidParams) error
	// Performs a single check.
	// (GET /single)
	GetSingle(ctx echo.Context, params GetSingleParams) error
	// Get the average time/uptime value for a specified
	// (GET /summary.average/{checkid})
	GetSummaryAverageCheckid(ctx echo.Context, checkid SummaryAverageCheckid, params GetSummaryAverageCheckidParams) error
	// Returns the average response time for each hour.
	// (GET /summary.hoursofday/{checkid})
	GetSummaryHoursofdayCheckid(ctx echo.Context, checkid SummaryHoursofdayCheckid, params GetSummaryHoursofdayCheckidParams) error
	// Get a list of status changes for a specified check
	// (GET /summary.outage/{checkid})
	GetSummaryOutageCheckid(ctx echo.Context, checkid SummaryOutageCheckid, params GetSummaryOutageCheckidParams) error
	// For a given interval return a list of subintervals
	// (GET /summary.performance/{checkid})
	GetSummaryPerformanceCheckid(ctx echo.Context, checkid SummaryPerformanceCheckid, params GetSummaryPerformanceCheckidParams) error
	// Get a list of probes that performed tests
	// (GET /summary.probes/{checkid})
	GetSummaryProbesCheckid(ctx echo.Context, checkid SummaryProbesCheckid, params GetSummaryProbesCheckidParams) error
	// Returns a list overview of all transaction checks.
	// (GET /tms/check)
	GetAllChecks(ctx echo.Context, params GetAllChecksParams) error
	// Creates a new transaction check.
	// (POST /tms/check)
	AddCheck(ctx echo.Context) error
	// Returns a status change report for all transaction checks in the current organization
	// (GET /tms/check/report/status)
	GetCheckReportStatusAll(ctx echo.Context, params GetCheckReportStatusAllParams) error
	// Returns a performance report for a single transaction check
	// (GET /tms/check/{check_id}/report/performance)
	GetCheckReportPerformance(ctx echo.Context, checkId int64, params GetCheckReportPerformanceParams) error
	// Returns a status change report for a single transaction check
	// (GET /tms/check/{check_id}/report/status)
	GetCheckReportStatus(ctx echo.Context, checkId int64, params GetCheckReportStatusParams) error
	// Deletes a transaction check.
	// (DELETE /tms/check/{cid})
	DeleteCheck(ctx echo.Context, checkID int64) error
	// Returns a single transaction check.
	// (GET /tms/check/{cid})
	GetCheck(ctx echo.Context, checkID int64, params GetCheckParams) error
	// Modify settings for transaction check.
	// (PUT /tms/check/{cid})
	ModifyCheck(ctx echo.Context, checkID int64) error
	// Perform a traceroute
	// (GET /traceroute)
	GetTraceroute(ctx echo.Context, params GetTracerouteParams) error
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) AddCheck

func (w *ServerInterfaceWrapper) AddCheck(ctx echo.Context) error

AddCheck converts echo context to params.

func (*ServerInterfaceWrapper) DeleteAlertingContactsContactid

func (w *ServerInterfaceWrapper) DeleteAlertingContactsContactid(ctx echo.Context) error

DeleteAlertingContactsContactid converts echo context to params.

func (*ServerInterfaceWrapper) DeleteAlertingTeamsTeamid

func (w *ServerInterfaceWrapper) DeleteAlertingTeamsTeamid(ctx echo.Context) error

DeleteAlertingTeamsTeamid converts echo context to params.

func (*ServerInterfaceWrapper) DeleteCheck

func (w *ServerInterfaceWrapper) DeleteCheck(ctx echo.Context) error

DeleteCheck converts echo context to params.

func (*ServerInterfaceWrapper) DeleteChecks

func (w *ServerInterfaceWrapper) DeleteChecks(ctx echo.Context) error

DeleteChecks converts echo context to params.

func (*ServerInterfaceWrapper) DeleteChecksCheckid

func (w *ServerInterfaceWrapper) DeleteChecksCheckid(ctx echo.Context) error

DeleteChecksCheckid converts echo context to params.

func (*ServerInterfaceWrapper) DeleteMaintenance

func (w *ServerInterfaceWrapper) DeleteMaintenance(ctx echo.Context) error

DeleteMaintenance converts echo context to params.

func (*ServerInterfaceWrapper) DeleteMaintenanceId

func (w *ServerInterfaceWrapper) DeleteMaintenanceId(ctx echo.Context) error

DeleteMaintenanceId converts echo context to params.

func (*ServerInterfaceWrapper) DeleteMaintenanceOccurrences

func (w *ServerInterfaceWrapper) DeleteMaintenanceOccurrences(ctx echo.Context) error

DeleteMaintenanceOccurrences converts echo context to params.

func (*ServerInterfaceWrapper) DeleteMaintenanceOccurrencesId

func (w *ServerInterfaceWrapper) DeleteMaintenanceOccurrencesId(ctx echo.Context) error

DeleteMaintenanceOccurrencesId converts echo context to params.

func (*ServerInterfaceWrapper) GetActions

func (w *ServerInterfaceWrapper) GetActions(ctx echo.Context) error

GetActions converts echo context to params.

func (*ServerInterfaceWrapper) GetAlertingContacts

func (w *ServerInterfaceWrapper) GetAlertingContacts(ctx echo.Context) error

GetAlertingContacts converts echo context to params.

func (*ServerInterfaceWrapper) GetAlertingContactsContactid

func (w *ServerInterfaceWrapper) GetAlertingContactsContactid(ctx echo.Context) error

GetAlertingContactsContactid converts echo context to params.

func (*ServerInterfaceWrapper) GetAlertingTeams

func (w *ServerInterfaceWrapper) GetAlertingTeams(ctx echo.Context) error

GetAlertingTeams converts echo context to params.

func (*ServerInterfaceWrapper) GetAlertingTeamsTeamid

func (w *ServerInterfaceWrapper) GetAlertingTeamsTeamid(ctx echo.Context) error

GetAlertingTeamsTeamid converts echo context to params.

func (*ServerInterfaceWrapper) GetAllChecks

func (w *ServerInterfaceWrapper) GetAllChecks(ctx echo.Context) error

GetAllChecks converts echo context to params.

func (*ServerInterfaceWrapper) GetAnalysisCheckid

func (w *ServerInterfaceWrapper) GetAnalysisCheckid(ctx echo.Context) error

GetAnalysisCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetAnalysisCheckidAnalysisid

func (w *ServerInterfaceWrapper) GetAnalysisCheckidAnalysisid(ctx echo.Context) error

GetAnalysisCheckidAnalysisid converts echo context to params.

func (*ServerInterfaceWrapper) GetCheck

func (w *ServerInterfaceWrapper) GetCheck(ctx echo.Context) error

GetCheck converts echo context to params.

func (*ServerInterfaceWrapper) GetCheckReportPerformance

func (w *ServerInterfaceWrapper) GetCheckReportPerformance(ctx echo.Context) error

GetCheckReportPerformance converts echo context to params.

func (*ServerInterfaceWrapper) GetCheckReportStatus

func (w *ServerInterfaceWrapper) GetCheckReportStatus(ctx echo.Context) error

GetCheckReportStatus converts echo context to params.

func (*ServerInterfaceWrapper) GetCheckReportStatusAll

func (w *ServerInterfaceWrapper) GetCheckReportStatusAll(ctx echo.Context) error

GetCheckReportStatusAll converts echo context to params.

func (*ServerInterfaceWrapper) GetChecks

func (w *ServerInterfaceWrapper) GetChecks(ctx echo.Context) error

GetChecks converts echo context to params.

func (*ServerInterfaceWrapper) GetChecksCheckid

func (w *ServerInterfaceWrapper) GetChecksCheckid(ctx echo.Context) error

GetChecksCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetCredits

func (w *ServerInterfaceWrapper) GetCredits(ctx echo.Context) error

GetCredits converts echo context to params.

func (*ServerInterfaceWrapper) GetMaintenance

func (w *ServerInterfaceWrapper) GetMaintenance(ctx echo.Context) error

GetMaintenance converts echo context to params.

func (*ServerInterfaceWrapper) GetMaintenanceId

func (w *ServerInterfaceWrapper) GetMaintenanceId(ctx echo.Context) error

GetMaintenanceId converts echo context to params.

func (*ServerInterfaceWrapper) GetMaintenanceOccurrences

func (w *ServerInterfaceWrapper) GetMaintenanceOccurrences(ctx echo.Context) error

GetMaintenanceOccurrences converts echo context to params.

func (*ServerInterfaceWrapper) GetMaintenanceOccurrencesId

func (w *ServerInterfaceWrapper) GetMaintenanceOccurrencesId(ctx echo.Context) error

GetMaintenanceOccurrencesId converts echo context to params.

func (*ServerInterfaceWrapper) GetProbes

func (w *ServerInterfaceWrapper) GetProbes(ctx echo.Context) error

GetProbes converts echo context to params.

func (*ServerInterfaceWrapper) GetReference

func (w *ServerInterfaceWrapper) GetReference(ctx echo.Context) error

GetReference converts echo context to params.

func (*ServerInterfaceWrapper) GetResultsCheckid

func (w *ServerInterfaceWrapper) GetResultsCheckid(ctx echo.Context) error

GetResultsCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetSingle

func (w *ServerInterfaceWrapper) GetSingle(ctx echo.Context) error

GetSingle converts echo context to params.

func (*ServerInterfaceWrapper) GetSummaryAverageCheckid

func (w *ServerInterfaceWrapper) GetSummaryAverageCheckid(ctx echo.Context) error

GetSummaryAverageCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetSummaryHoursofdayCheckid

func (w *ServerInterfaceWrapper) GetSummaryHoursofdayCheckid(ctx echo.Context) error

GetSummaryHoursofdayCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetSummaryOutageCheckid

func (w *ServerInterfaceWrapper) GetSummaryOutageCheckid(ctx echo.Context) error

GetSummaryOutageCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetSummaryPerformanceCheckid

func (w *ServerInterfaceWrapper) GetSummaryPerformanceCheckid(ctx echo.Context) error

GetSummaryPerformanceCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetSummaryProbesCheckid

func (w *ServerInterfaceWrapper) GetSummaryProbesCheckid(ctx echo.Context) error

GetSummaryProbesCheckid converts echo context to params.

func (*ServerInterfaceWrapper) GetTraceroute

func (w *ServerInterfaceWrapper) GetTraceroute(ctx echo.Context) error

GetTraceroute converts echo context to params.

func (*ServerInterfaceWrapper) ModifyCheck

func (w *ServerInterfaceWrapper) ModifyCheck(ctx echo.Context) error

ModifyCheck converts echo context to params.

func (*ServerInterfaceWrapper) PostAlertingContacts

func (w *ServerInterfaceWrapper) PostAlertingContacts(ctx echo.Context) error

PostAlertingContacts converts echo context to params.

func (*ServerInterfaceWrapper) PostAlertingTeams

func (w *ServerInterfaceWrapper) PostAlertingTeams(ctx echo.Context) error

PostAlertingTeams converts echo context to params.

func (*ServerInterfaceWrapper) PostChecks

func (w *ServerInterfaceWrapper) PostChecks(ctx echo.Context) error

PostChecks converts echo context to params.

func (*ServerInterfaceWrapper) PostMaintenance

func (w *ServerInterfaceWrapper) PostMaintenance(ctx echo.Context) error

PostMaintenance converts echo context to params.

func (*ServerInterfaceWrapper) PutAlertingContactsContactid

func (w *ServerInterfaceWrapper) PutAlertingContactsContactid(ctx echo.Context) error

PutAlertingContactsContactid converts echo context to params.

func (*ServerInterfaceWrapper) PutAlertingTeamsTeamid

func (w *ServerInterfaceWrapper) PutAlertingTeamsTeamid(ctx echo.Context) error

PutAlertingTeamsTeamid converts echo context to params.

func (*ServerInterfaceWrapper) PutChecks

func (w *ServerInterfaceWrapper) PutChecks(ctx echo.Context) error

PutChecks converts echo context to params.

func (*ServerInterfaceWrapper) PutChecksCheckid

func (w *ServerInterfaceWrapper) PutChecksCheckid(ctx echo.Context) error

PutChecksCheckid converts echo context to params.

func (*ServerInterfaceWrapper) PutMaintenanceId

func (w *ServerInterfaceWrapper) PutMaintenanceId(ctx echo.Context) error

PutMaintenanceId converts echo context to params.

func (*ServerInterfaceWrapper) PutMaintenanceOccurrencesId

func (w *ServerInterfaceWrapper) PutMaintenanceOccurrencesId(ctx echo.Context) error

PutMaintenanceOccurrencesId converts echo context to params.

type SingleResp

type SingleResp struct {
	Result *struct {
		// Probedesc Probe description
		Probedesc *string `json:"probedesc,omitempty"`

		// Probeid Probe identifier
		Probeid *int `json:"probeid,omitempty"`

		// Responsetime Response time in milliseconds
		Responsetime *int `json:"responsetime,omitempty"`

		// Status Test result status (up, down)
		Status *string `json:"status,omitempty"`

		// Statusdesc Short status description
		Statusdesc *string `json:"statusdesc,omitempty"`

		// Statusdesclong Long status description
		Statusdesclong *string `json:"statusdesclong,omitempty"`
	} `json:"result,omitempty"`
}

SingleResp defines model for single_resp.

type SmtpAttributesBase

type SmtpAttributesBase struct {
	// Encryption Connection encryption
	Encryption *bool `json:"encryption,omitempty"`

	// Port Target port
	Port *int `json:"port,omitempty"`

	// Stringtoexpect String to expect in response
	Stringtoexpect *string `json:"stringtoexpect,omitempty"`
}

SmtpAttributesBase defines model for SmtpAttributesBase.

type SmtpAttributesGet

type SmtpAttributesGet = SmtpAttributesBase

SmtpAttributesGet defines model for SmtpAttributesGet.

type SmtpAttributesSet

type SmtpAttributesSet = SmtpAttributesBase

SmtpAttributesSet defines model for SmtpAttributesSet.

type State

type State struct {
	// ErrorInStep Number of step in which an error has occured (only if `status` is `down`)
	ErrorInStep *int `json:"error_in_step,omitempty"`

	// From Interval start. The format is `RFC 3339`
	From *PropertyFrom `json:"from,omitempty"`

	// Message Error message for the step that is failing (only if `status` is `down`)
	Message *string `json:"message,omitempty"`

	// Status Interval status
	Status *StateStatus `json:"status,omitempty"`

	// To Interval end. The format is `RFC 3339`
	To *time.Time `json:"to,omitempty"`
}

State defines model for State.

type StateStatus

type StateStatus string

StateStatus Interval status

const (
	StateStatusDown    StateStatus = "down"
	StateStatusUnknown StateStatus = "unknown"
	StateStatusUp      StateStatus = "up"
)

Defines values for StateStatus.

type Step

type Step struct {
	// Args Parameters for the operation
	// The actual parameters required depend on the chosen operation
	Parameters *struct {
		Checkbox *string `json:"checkbox,omitempty"`
		Element  *string `json:"element,omitempty"`
		Form     *string `json:"form,omitempty"`
		Input    *string `json:"input,omitempty"`
		Option   *string `json:"option,omitempty"`
		Password *string `json:"password,omitempty"`
		Radio    *string `json:"radio,omitempty"`
		Seconds  *string `json:"seconds,omitempty"`
		Select   *string `json:"select,omitempty"`
		URL      *string `json:"url,omitempty"`
		Username *string `json:"username,omitempty"`
		Value    *string `json:"value,omitempty"`
	} `json:"args,omitempty"`

	// Fn Operation to be done
	Function *string `json:"fn,omitempty"`
}

Step Step is a struct describing a single step of a TMS check

type SummaryAverageBycountry

type SummaryAverageBycountry = bool

SummaryAverageBycountry defines model for summary.average_bycountry.

type SummaryAverageByprobe

type SummaryAverageByprobe = bool

SummaryAverageByprobe defines model for summary.average_byprobe.

type SummaryAverageCheckid

type SummaryAverageCheckid = int

SummaryAverageCheckid defines model for summary.average_checkid.

type SummaryAverageFrom

type SummaryAverageFrom = int

SummaryAverageFrom defines model for summary.average_from.

type SummaryAverageIncludeuptime

type SummaryAverageIncludeuptime = bool

SummaryAverageIncludeuptime defines model for summary.average_includeuptime.

type SummaryAverageProbes

type SummaryAverageProbes = string

SummaryAverageProbes defines model for summary.average_probes.

type SummaryAverageTo

type SummaryAverageTo = int

SummaryAverageTo defines model for summary.average_to.

type SummaryHoursofdayCheckid

type SummaryHoursofdayCheckid = int

SummaryHoursofdayCheckid defines model for summary.hoursofday_checkid.

type SummaryHoursofdayFrom

type SummaryHoursofdayFrom = int

SummaryHoursofdayFrom defines model for summary.hoursofday_from.

type SummaryHoursofdayProbes

type SummaryHoursofdayProbes = string

SummaryHoursofdayProbes defines model for summary.hoursofday_probes.

type SummaryHoursofdayRespAttrs

type SummaryHoursofdayRespAttrs struct {
	Hoursofday *[]struct {
		// Avgresponse Average response time (in milliseconds) for this hour of the day
		Avgresponse *float32 `json:"avgresponse,omitempty"`

		// Hour Hour of day (0-23). Please note that if data is missing for an individual hour, it's entry will not be included in the result.
		Hour *float32 `json:"hour,omitempty"`
	} `json:"hoursofday,omitempty"`
}

SummaryHoursofdayRespAttrs defines model for summary.hoursofday_resp_attrs.

type SummaryHoursofdayTo

type SummaryHoursofdayTo = int

SummaryHoursofdayTo defines model for summary.hoursofday_to.

type SummaryHoursofdayUselocaltime

type SummaryHoursofdayUselocaltime = bool

SummaryHoursofdayUselocaltime defines model for summary.hoursofday_uselocaltime.

type SummaryOutageCheckid

type SummaryOutageCheckid = int

SummaryOutageCheckid defines model for summary.outage_checkid.

type SummaryOutageFrom

type SummaryOutageFrom = int

SummaryOutageFrom defines model for summary.outage_from.

type SummaryOutageOrder

type SummaryOutageOrder string

SummaryOutageOrder defines model for summary.outage_order.

const (
	SummaryOutageOrderAsc  SummaryOutageOrder = "asc"
	SummaryOutageOrderDesc SummaryOutageOrder = "desc"
)

Defines values for SummaryOutageOrder.

type SummaryOutageRespAttrs

type SummaryOutageRespAttrs struct {
	Summary *struct {
		States *[]struct {
			// Status Interval status
			Status *SummaryOutageRespAttrsSummaryStatesStatus `json:"status,omitempty"`

			// Timefrom Interval start. Format UNIX timestamp
			Timefrom *float32 `json:"timefrom,omitempty"`

			// Timeto Interval end. Format UNIX timestamp
			Timeto *float32 `json:"timeto,omitempty"`
		} `json:"states,omitempty"`
	} `json:"summary,omitempty"`
}

SummaryOutageRespAttrs defines model for summary.outage_resp_attrs.

type SummaryOutageRespAttrsSummaryStatesStatus

type SummaryOutageRespAttrsSummaryStatesStatus string

SummaryOutageRespAttrsSummaryStatesStatus Interval status

const (
	SummaryOutageRespAttrsSummaryStatesStatusDown    SummaryOutageRespAttrsSummaryStatesStatus = "down"
	SummaryOutageRespAttrsSummaryStatesStatusUnknown SummaryOutageRespAttrsSummaryStatesStatus = "unknown"
	SummaryOutageRespAttrsSummaryStatesStatusUp      SummaryOutageRespAttrsSummaryStatesStatus = "up"
)

Defines values for SummaryOutageRespAttrsSummaryStatesStatus.

type SummaryOutageTo

type SummaryOutageTo = int

SummaryOutageTo defines model for summary.outage_to.

type SummaryPerformanceCheckid

type SummaryPerformanceCheckid = int

SummaryPerformanceCheckid defines model for summary.performance_checkid.

type SummaryPerformanceFrom

type SummaryPerformanceFrom = int

SummaryPerformanceFrom defines model for summary.performance_from.

type SummaryPerformanceIncludeuptime

type SummaryPerformanceIncludeuptime = bool

SummaryPerformanceIncludeuptime defines model for summary.performance_includeuptime.

type SummaryPerformanceOrder

type SummaryPerformanceOrder string

SummaryPerformanceOrder defines model for summary.performance_order.

const (
	SummaryPerformanceOrderAsc  SummaryPerformanceOrder = "asc"
	SummaryPerformanceOrderDesc SummaryPerformanceOrder = "desc"
)

Defines values for SummaryPerformanceOrder.

type SummaryPerformanceProbes

type SummaryPerformanceProbes = string

SummaryPerformanceProbes defines model for summary.performance_probes.

type SummaryPerformanceResolution

type SummaryPerformanceResolution string

SummaryPerformanceResolution defines model for summary.performance_resolution.

const (
	SummaryPerformanceResolutionDay  SummaryPerformanceResolution = "day"
	SummaryPerformanceResolutionHour SummaryPerformanceResolution = "hour"
	SummaryPerformanceResolutionWeek SummaryPerformanceResolution = "week"
)

Defines values for SummaryPerformanceResolution.

type SummaryPerformanceRespAttrs

type SummaryPerformanceRespAttrs struct {
	Summary *SummaryPerformanceRespAttrs_Summary `json:"summary,omitempty"`
}

SummaryPerformanceRespAttrs defines model for summary.performance_resp_attrs.

type SummaryPerformanceRespAttrs_Summary

type SummaryPerformanceRespAttrs_Summary struct {
	// contains filtered or unexported fields
}

SummaryPerformanceRespAttrs_Summary defines model for SummaryPerformanceRespAttrs.Summary.

func (SummaryPerformanceRespAttrs_Summary) AsDays

AsDays returns the union data inside the SummaryPerformanceRespAttrs_Summary as a Days

func (SummaryPerformanceRespAttrs_Summary) AsHours

AsHours returns the union data inside the SummaryPerformanceRespAttrs_Summary as a Hours

func (SummaryPerformanceRespAttrs_Summary) AsWeeks

AsWeeks returns the union data inside the SummaryPerformanceRespAttrs_Summary as a Weeks

func (*SummaryPerformanceRespAttrs_Summary) FromDays

FromDays overwrites any union data inside the SummaryPerformanceRespAttrs_Summary as the provided Days

func (*SummaryPerformanceRespAttrs_Summary) FromHours

FromHours overwrites any union data inside the SummaryPerformanceRespAttrs_Summary as the provided Hours

func (*SummaryPerformanceRespAttrs_Summary) FromWeeks

FromWeeks overwrites any union data inside the SummaryPerformanceRespAttrs_Summary as the provided Weeks

func (SummaryPerformanceRespAttrs_Summary) MarshalJSON

func (t SummaryPerformanceRespAttrs_Summary) MarshalJSON() ([]byte, error)

func (*SummaryPerformanceRespAttrs_Summary) MergeDays

MergeDays performs a merge with any union data inside the SummaryPerformanceRespAttrs_Summary, using the provided Days

func (*SummaryPerformanceRespAttrs_Summary) MergeHours

MergeHours performs a merge with any union data inside the SummaryPerformanceRespAttrs_Summary, using the provided Hours

func (*SummaryPerformanceRespAttrs_Summary) MergeWeeks

MergeWeeks performs a merge with any union data inside the SummaryPerformanceRespAttrs_Summary, using the provided Weeks

func (*SummaryPerformanceRespAttrs_Summary) UnmarshalJSON

func (t *SummaryPerformanceRespAttrs_Summary) UnmarshalJSON(b []byte) error

type SummaryPerformanceResults

type SummaryPerformanceResults = []struct {
	// Avgresponse Average response time for this interval in milliseconds
	Avgresponse *float32 `json:"avgresponse,omitempty"`

	// Downtime Total downtime for this interval in seconds
	Downtime *float32 `json:"downtime,omitempty"`

	// Starttime Interval start. Format UNIX timestamp
	Starttime *float32 `json:"starttime,omitempty"`

	// Unmonitored Total unmonitored time for this interval in seconds
	Unmonitored *float32 `json:"unmonitored,omitempty"`

	// Uptime Total uptime for this interval in seconds
	Uptime *float32 `json:"uptime,omitempty"`
}

SummaryPerformanceResults defines model for summary.performance_results.

type SummaryPerformanceTo

type SummaryPerformanceTo = int

SummaryPerformanceTo defines model for summary.performance_to.

type SummaryProbesCheckid

type SummaryProbesCheckid = int

SummaryProbesCheckid defines model for summary.probes_checkid.

type SummaryProbesFrom

type SummaryProbesFrom = int

SummaryProbesFrom defines model for summary.probes_from.

type SummaryProbesRespAttrs

type SummaryProbesRespAttrs struct {
	Probes *[]int `json:"probes,omitempty"`
}

SummaryProbesRespAttrs defines model for summary.probes_resp_attrs.

type SummaryProbesTo

type SummaryProbesTo = int

SummaryProbesTo defines model for summary.probes_to.

type SummaryRespAttrs

type SummaryRespAttrs struct {
	Summary *struct {
		Responsetime *struct {
			Avgresponse *SummaryRespAttrs_Summary_Responsetime_Avgresponse `json:"avgresponse,omitempty"`

			// From Start time of period
			From *float32 `json:"from,omitempty"`

			// To End time of period
			To *float32 `json:"to,omitempty"`
		} `json:"responsetime,omitempty"`
		Status *struct {
			// Totaldown Total downtime in seconds (Please note that the accuracy of this value is depending on your check resolution).
			Totaldown *int `json:"totaldown,omitempty"`

			// Totalunknown Total unknown/unmonitored/paused in seconds (Please note that the accuracy of this value is depending on your check resolution. Also note that time before the check was created counts as unknown).
			Totalunknown *int `json:"totalunknown,omitempty"`

			// Totalup Total uptime in seconds (Please note that the accuracy of this value is depending on your check resolution).
			Totalup *int `json:"totalup,omitempty"`
		} `json:"status,omitempty"`
	} `json:"summary,omitempty"`
}

SummaryRespAttrs defines model for summary_resp_attrs.

type SummaryRespAttrsSummaryResponsetimeAvgresponse0

type SummaryRespAttrsSummaryResponsetimeAvgresponse0 = int

SummaryRespAttrsSummaryResponsetimeAvgresponse0 Total average response time in milliseconds

type SummaryRespAttrsSummaryResponsetimeAvgresponse1

type SummaryRespAttrsSummaryResponsetimeAvgresponse1 = []struct {
	// Avgresponse Group average response time in milliseconds
	Avgresponse *int `json:"avgresponse,omitempty"`

	// Countryiso Country group ISO code
	Countryiso *string `json:"countryiso,omitempty"`

	// Probeid Probe group probe identifier
	Probeid *int `json:"probeid,omitempty"`
}

SummaryRespAttrsSummaryResponsetimeAvgresponse1 defines model for .

type SummaryRespAttrs_Summary_Responsetime_Avgresponse

type SummaryRespAttrs_Summary_Responsetime_Avgresponse struct {
	// contains filtered or unexported fields
}

SummaryRespAttrs_Summary_Responsetime_Avgresponse defines model for SummaryRespAttrs.Summary.Responsetime.Avgresponse.

func (SummaryRespAttrs_Summary_Responsetime_Avgresponse) AsSummaryRespAttrsSummaryResponsetimeAvgresponse0

func (t SummaryRespAttrs_Summary_Responsetime_Avgresponse) AsSummaryRespAttrsSummaryResponsetimeAvgresponse0() (SummaryRespAttrsSummaryResponsetimeAvgresponse0, error)

AsSummaryRespAttrsSummaryResponsetimeAvgresponse0 returns the union data inside the SummaryRespAttrs_Summary_Responsetime_Avgresponse as a SummaryRespAttrsSummaryResponsetimeAvgresponse0

func (SummaryRespAttrs_Summary_Responsetime_Avgresponse) AsSummaryRespAttrsSummaryResponsetimeAvgresponse1

func (t SummaryRespAttrs_Summary_Responsetime_Avgresponse) AsSummaryRespAttrsSummaryResponsetimeAvgresponse1() (SummaryRespAttrsSummaryResponsetimeAvgresponse1, error)

AsSummaryRespAttrsSummaryResponsetimeAvgresponse1 returns the union data inside the SummaryRespAttrs_Summary_Responsetime_Avgresponse as a SummaryRespAttrsSummaryResponsetimeAvgresponse1

func (*SummaryRespAttrs_Summary_Responsetime_Avgresponse) FromSummaryRespAttrsSummaryResponsetimeAvgresponse0

func (t *SummaryRespAttrs_Summary_Responsetime_Avgresponse) FromSummaryRespAttrsSummaryResponsetimeAvgresponse0(v SummaryRespAttrsSummaryResponsetimeAvgresponse0) error

FromSummaryRespAttrsSummaryResponsetimeAvgresponse0 overwrites any union data inside the SummaryRespAttrs_Summary_Responsetime_Avgresponse as the provided SummaryRespAttrsSummaryResponsetimeAvgresponse0

func (*SummaryRespAttrs_Summary_Responsetime_Avgresponse) FromSummaryRespAttrsSummaryResponsetimeAvgresponse1

func (t *SummaryRespAttrs_Summary_Responsetime_Avgresponse) FromSummaryRespAttrsSummaryResponsetimeAvgresponse1(v SummaryRespAttrsSummaryResponsetimeAvgresponse1) error

FromSummaryRespAttrsSummaryResponsetimeAvgresponse1 overwrites any union data inside the SummaryRespAttrs_Summary_Responsetime_Avgresponse as the provided SummaryRespAttrsSummaryResponsetimeAvgresponse1

func (SummaryRespAttrs_Summary_Responsetime_Avgresponse) MarshalJSON

func (*SummaryRespAttrs_Summary_Responsetime_Avgresponse) MergeSummaryRespAttrsSummaryResponsetimeAvgresponse0

func (t *SummaryRespAttrs_Summary_Responsetime_Avgresponse) MergeSummaryRespAttrsSummaryResponsetimeAvgresponse0(v SummaryRespAttrsSummaryResponsetimeAvgresponse0) error

MergeSummaryRespAttrsSummaryResponsetimeAvgresponse0 performs a merge with any union data inside the SummaryRespAttrs_Summary_Responsetime_Avgresponse, using the provided SummaryRespAttrsSummaryResponsetimeAvgresponse0

func (*SummaryRespAttrs_Summary_Responsetime_Avgresponse) MergeSummaryRespAttrsSummaryResponsetimeAvgresponse1

func (t *SummaryRespAttrs_Summary_Responsetime_Avgresponse) MergeSummaryRespAttrsSummaryResponsetimeAvgresponse1(v SummaryRespAttrsSummaryResponsetimeAvgresponse1) error

MergeSummaryRespAttrsSummaryResponsetimeAvgresponse1 performs a merge with any union data inside the SummaryRespAttrs_Summary_Responsetime_Avgresponse, using the provided SummaryRespAttrsSummaryResponsetimeAvgresponse1

func (*SummaryRespAttrs_Summary_Responsetime_Avgresponse) UnmarshalJSON

type TCP

type TCP struct {
	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (tcp specific) Target port
	Port int `json:"port"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Stringtoexpect (tcp specific) String to expect in response
	Stringtoexpect *string `json:"stringtoexpect,omitempty"`

	// Stringtosend (tcp specific) String to send
	Stringtosend *string `json:"stringtosend,omitempty"`
	Type         TCPType `json:"type"`
}

TCP defines model for TCP.

type TCPType

type TCPType string

TCPType defines model for TCP.Type.

const (
	Tcp TCPType = "tcp"
)

Defines values for TCPType.

type Tag

type Tag struct {
	Count *int    `json:"count,omitempty"`
	Name  *string `json:"name,omitempty"`
	Type  *string `json:"type,omitempty"`
}

Tag defines model for Tag.

type TcpAttributes

type TcpAttributes struct {
	// Port Target port
	Port int `json:"port"`

	// Stringtoexpect String to expect in response
	Stringtoexpect *string `json:"stringtoexpect,omitempty"`

	// Stringtosend String to send
	Stringtosend *string `json:"stringtosend,omitempty"`
}

TcpAttributes defines model for TcpAttributes.

type TeamID

type TeamID struct {
	Team *AlertingTeamID `json:"team,omitempty"`
}

TeamID defines model for Team_ID.

type Teams

type Teams struct {
	Teams *[]AlertingTeams `json:"teams,omitempty"`
}

Teams defines model for Teams.

type Timezone

type Timezone struct {
	// Description Time zone description
	Description *string `json:"description,omitempty"`

	// Id Time zone identifier
	Id *int `json:"id,omitempty"`
}

Timezone defines model for Timezone.

type Traceroute

type Traceroute struct {
	Traceroute *TracerouteData `json:"traceroute,omitempty"`
}

Traceroute defines model for Traceroute.

type TracerouteData

type TracerouteData struct {
	// Probedescription Probe description
	Probedescription *string `json:"probedescription,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// Result Traceroute output
	Result *string `json:"result,omitempty"`
}

TracerouteData defines model for TracerouteData.

type UDP

type UDP struct {
	// Host Target host
	Host string `json:"host"`

	// Ipv6 Use ipv6 instead of ipv4
	Ipv6 *bool `json:"ipv6,omitempty"`

	// Port (udp specific) Target port
	Port int `json:"port"`

	// ProbeFilters Filters used for probe selections. Comma separated key:value pairs. Currently only region is supported. Possible values are 'EU', 'NA', 'APAC' and 'LATAM'.
	ProbeFilters *int `json:"probe_filters,omitempty"`

	// Probeid Probe identifier
	Probeid *int `json:"probeid,omitempty"`

	// ResponsetimeThreshold Triggers a down alert if the response time exceeds threshold specified in ms (Not available for Starter and Free plans.)
	ResponsetimeThreshold *int `json:"responsetime_threshold,omitempty"`

	// Stringtoexpect (udp specific) String to expect in response
	Stringtoexpect *string `json:"stringtoexpect,omitempty"`

	// Stringtosend (udp specific) String to send
	Stringtosend *string `json:"stringtosend,omitempty"`
	Type         UDPType `json:"type"`
}

UDP defines model for UDP.

type UDPType

type UDPType string

UDPType defines model for UDP.Type.

const (
	Udp UDPType = "udp"
)

Defines values for UDPType.

type UdpAttributes

type UdpAttributes struct {
	// Port Target port
	Port int `json:"port"`

	// Stringtoexpect String to expect in response
	Stringtoexpect string `json:"stringtoexpect"`

	// Stringtosend String to send
	Stringtosend string `json:"stringtosend"`
}

UdpAttributes defines model for UdpAttributes.

type Unmonitored

type Unmonitored = int64

Unmonitored Amount of time when there is no specific data about check status (up/down) within given interval (only with the `include_uptime` flag)

type UpdateContact

type UpdateContact struct {
	// Name Contact name
	Name                string                            `json:"name"`
	NotificationTargets UpdateContact_NotificationTargets `json:"notification_targets"`

	// Paused Pause contact
	Paused UpdateContactPaused `json:"paused"`
}

UpdateContact defines model for UpdateContact.

type UpdateContactPaused

type UpdateContactPaused bool

UpdateContactPaused Pause contact

const (
	UpdateContactPausedFalse UpdateContactPaused = false
	UpdateContactPausedTrue  UpdateContactPaused = true
)

Defines values for UpdateContactPaused.

type UpdateContact_NotificationTargets

type UpdateContact_NotificationTargets struct {
	// contains filtered or unexported fields
}

UpdateContact_NotificationTargets defines model for UpdateContact.NotificationTargets.

func (UpdateContact_NotificationTargets) AsEmails

AsEmails returns the union data inside the UpdateContact_NotificationTargets as a Emails

func (UpdateContact_NotificationTargets) AsSMSes

AsSMSes returns the union data inside the UpdateContact_NotificationTargets as a SMSes

func (*UpdateContact_NotificationTargets) FromEmails

FromEmails overwrites any union data inside the UpdateContact_NotificationTargets as the provided Emails

func (*UpdateContact_NotificationTargets) FromSMSes

FromSMSes overwrites any union data inside the UpdateContact_NotificationTargets as the provided SMSes

func (UpdateContact_NotificationTargets) MarshalJSON

func (t UpdateContact_NotificationTargets) MarshalJSON() ([]byte, error)

func (*UpdateContact_NotificationTargets) MergeEmails

MergeEmails performs a merge with any union data inside the UpdateContact_NotificationTargets, using the provided Emails

func (*UpdateContact_NotificationTargets) MergeSMSes

MergeSMSes performs a merge with any union data inside the UpdateContact_NotificationTargets, using the provided SMSes

func (*UpdateContact_NotificationTargets) UnmarshalJSON

func (t *UpdateContact_NotificationTargets) UnmarshalJSON(b []byte) error

type UpdateTeam

type UpdateTeam struct {
	// MemberIds IDs of contacts to be the members of this team
	MemberIds []int64 `json:"member_ids"`

	// Name Team name
	Name string `json:"name"`
}

UpdateTeam defines model for UpdateTeam.

type Uptime

type Uptime = int64

Uptime Amount of time when the check was up within given interval (only with the `include_uptime` flag)

type Weeks

type Weeks struct {
	Weeks *SummaryPerformanceResults `json:"weeks,omitempty"`
}

Weeks defines model for Weeks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL