func (updownService *UpdownMonitorService) Remove(updownMonitor models.Monitor) {

	log.Println("Updown's Remove method has been called")

	_, httpResponse, err := updownService.client.Check.Remove(updownMonitor.ID)
	log.Println("Updown's check Remove request has been completed")

	if (httpResponse.StatusCode == http.StatusOK) && (err == nil) {
		log.Printf("Monitor %v has been deleted.", updownMonitor.Name)

	} else if (httpResponse.StatusCode == http.StatusNotFound) && (err != nil) {
		log.Printf("Monitor %v is not found.", updownMonitor.Name)

	} else {
		log.Printf("Unable to delete %v monitor: ", updownMonitor.Name)
	}

}
// Remove method will remove a monitor (updown check)
Remove method will remove a monitor (updown check)
// Remove method will remove a monitor ( updown check )
func (updownService *UpdownMonitorService) Remove(updownMonitor models.Monitor) {
	log.Println("Updown's Remove method has been called")
	_, httpResponse, err := updownService.client.Check.Remove(updownMonitor.ID)
	log.Println("Updown's check Remove request has been completed")
	if (httpResponse.StatusCode == http.StatusOK) && (err == nil) {
		log.Printf("Monitor %v has been deleted.", updownMonitor.Name)
	} else if (httpResponse.StatusCode == http.StatusNotFound) && (err != nil) {
		log.Printf("Monitor %v is not found.", updownMonitor.Name)
	} else {
		log.Printf("Unable to delete %v monitor: ", updownMonitor.Name)
	}
}
func ( updownService * UpdownMonitorService ) Remove ( updownMonitor models . Monitor ) { log . Println ( " " ) _ , httpResponse , err := updownService . client . Check . Remove ( updownMonitor . ID ) log . Println ( " " ) if ( httpResponse . StatusCode == http . StatusOK ) && ( err == nil ) { log . Printf ( " " , updownMonitor . Name ) } else if ( httpResponse . StatusCode == http . StatusNotFound ) && ( err != nil ) { log . Printf ( " " , updownMonitor . Name ) } else { log . Printf ( " " , updownMonitor . Name ) } }
Remove method will remove a monitor (updown check)
Remove method will remove a monitor ( updown check )