| GET,OPTIONS | /v1/integrations/providers |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class IntegrationsProvidersRequest
{
}
public static class IntegrationsProvidersResponse
{
public ArrayList<ProviderView> Providers = new ArrayList<ProviderView>();
public Integer ConnectedCount = null;
public Integer NeedsAttentionCount = null;
public Integer AvailableCount = null;
public ResponseStatus ResponseStatus = null;
public ArrayList<ProviderView> getProviders() { return Providers; }
public IntegrationsProvidersResponse setProviders(ArrayList<ProviderView> value) { this.Providers = value; return this; }
public Integer getConnectedCount() { return ConnectedCount; }
public IntegrationsProvidersResponse setConnectedCount(Integer value) { this.ConnectedCount = value; return this; }
public Integer getNeedsAttentionCount() { return NeedsAttentionCount; }
public IntegrationsProvidersResponse setNeedsAttentionCount(Integer value) { this.NeedsAttentionCount = value; return this; }
public Integer getAvailableCount() { return AvailableCount; }
public IntegrationsProvidersResponse setAvailableCount(Integer value) { this.AvailableCount = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public IntegrationsProvidersResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class ProviderView
{
public String Key = null;
public String Name = null;
public String Category = null;
public String Blurb = null;
public String Mono = null;
public String AuthMode = null;
public Boolean Available = null;
public String Status = null;
public String Health = null;
public String StatusDetail = null;
public String AccountLabel = null;
public String Environment = null;
public Date LastActivityAt = null;
public String ManageRoute = null;
public ArrayList<String> Actions = new ArrayList<String>();
public String getKey() { return Key; }
public ProviderView setKey(String value) { this.Key = value; return this; }
public String getName() { return Name; }
public ProviderView setName(String value) { this.Name = value; return this; }
public String getCategory() { return Category; }
public ProviderView setCategory(String value) { this.Category = value; return this; }
public String getBlurb() { return Blurb; }
public ProviderView setBlurb(String value) { this.Blurb = value; return this; }
public String getMono() { return Mono; }
public ProviderView setMono(String value) { this.Mono = value; return this; }
public String getAuthMode() { return AuthMode; }
public ProviderView setAuthMode(String value) { this.AuthMode = value; return this; }
public Boolean isAvailable() { return Available; }
public ProviderView setAvailable(Boolean value) { this.Available = value; return this; }
public String getStatus() { return Status; }
public ProviderView setStatus(String value) { this.Status = value; return this; }
public String getHealth() { return Health; }
public ProviderView setHealth(String value) { this.Health = value; return this; }
public String getStatusDetail() { return StatusDetail; }
public ProviderView setStatusDetail(String value) { this.StatusDetail = value; return this; }
public String getAccountLabel() { return AccountLabel; }
public ProviderView setAccountLabel(String value) { this.AccountLabel = value; return this; }
public String getEnvironment() { return Environment; }
public ProviderView setEnvironment(String value) { this.Environment = value; return this; }
public Date getLastActivityAt() { return LastActivityAt; }
public ProviderView setLastActivityAt(Date value) { this.LastActivityAt = value; return this; }
public String getManageRoute() { return ManageRoute; }
public ProviderView setManageRoute(String value) { this.ManageRoute = value; return this; }
public ArrayList<String> getActions() { return Actions; }
public ProviderView setActions(ArrayList<String> value) { this.Actions = value; return this; }
}
}
Java IntegrationsProvidersRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/integrations/providers HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Providers:
[
{
Key: String,
Name: String,
Category: String,
Blurb: String,
Mono: String,
AuthMode: String,
Available: False,
Status: String,
Health: String,
StatusDetail: String,
AccountLabel: String,
Environment: String,
LastActivityAt: 0001-01-01,
ManageRoute: String,
Actions:
[
String
]
}
],
ConnectedCount: 0,
NeedsAttentionCount: 0,
AvailableCount: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}