TicketUserServices

<back to all web services

JobHeartbeatListRequest

The following routes are available for this service:
GET/JobHeartbeat
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class JobHeartbeatListRequest
    {
        public Boolean overdueOnly = null;
        
        public Boolean isOverdueOnly() { return overdueOnly; }
        public JobHeartbeatListRequest setOverdueOnly(Boolean value) { this.overdueOnly = value; return this; }
    }

    public static class JobHeartbeatListResult
    {
        public ArrayList<JobHeartbeatStatus> items = null;
        public Integer overdueCount = null;
        public Integer statusCode = null;
        public String message = null;
        
        public ArrayList<JobHeartbeatStatus> getItems() { return items; }
        public JobHeartbeatListResult setItems(ArrayList<JobHeartbeatStatus> value) { this.items = value; return this; }
        public Integer getOverdueCount() { return overdueCount; }
        public JobHeartbeatListResult setOverdueCount(Integer value) { this.overdueCount = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public JobHeartbeatListResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public JobHeartbeatListResult setMessage(String value) { this.message = value; return this; }
    }

    public static class JobHeartbeatStatus
    {
        public String jobName = null;
        public String description = null;
        public Boolean enabled = null;
        public Date lastOkAt = null;
        public Integer minutesSinceOk = null;
        public Integer expectedIntervalMinutes = null;
        public Boolean overdue = null;
        public Long itemsProcessed = null;
        public Integer consecutiveFailures = null;
        public Boolean succeedingButIdle = null;
        
        public String getJobName() { return jobName; }
        public JobHeartbeatStatus setJobName(String value) { this.jobName = value; return this; }
        public String getDescription() { return description; }
        public JobHeartbeatStatus setDescription(String value) { this.description = value; return this; }
        public Boolean isEnabled() { return enabled; }
        public JobHeartbeatStatus setEnabled(Boolean value) { this.enabled = value; return this; }
        public Date getLastOkAt() { return lastOkAt; }
        public JobHeartbeatStatus setLastOkAt(Date value) { this.lastOkAt = value; return this; }
        public Integer getMinutesSinceOk() { return minutesSinceOk; }
        public JobHeartbeatStatus setMinutesSinceOk(Integer value) { this.minutesSinceOk = value; return this; }
        public Integer getExpectedIntervalMinutes() { return expectedIntervalMinutes; }
        public JobHeartbeatStatus setExpectedIntervalMinutes(Integer value) { this.expectedIntervalMinutes = value; return this; }
        public Boolean isOverdue() { return overdue; }
        public JobHeartbeatStatus setOverdue(Boolean value) { this.overdue = value; return this; }
        public Long getItemsProcessed() { return itemsProcessed; }
        public JobHeartbeatStatus setItemsProcessed(Long value) { this.itemsProcessed = value; return this; }
        public Integer getConsecutiveFailures() { return consecutiveFailures; }
        public JobHeartbeatStatus setConsecutiveFailures(Integer value) { this.consecutiveFailures = value; return this; }
        public Boolean isSucceedingButIdle() { return succeedingButIdle; }
        public JobHeartbeatStatus setSucceedingButIdle(Boolean value) { this.succeedingButIdle = value; return this; }
    }

}

Java JobHeartbeatListRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /JobHeartbeat HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"items":[{"jobName":"String","description":"String","enabled":false,"lastOkAt":"0001-01-01T00:00:00.0000000","minutesSinceOk":0,"expectedIntervalMinutes":0,"overdue":false,"itemsProcessed":0,"consecutiveFailures":0,"succeedingButIdle":false}],"overdueCount":0,"statusCode":0,"message":"String"}