| All Verbs | /SetOrUpdatePositionsToFix |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class SetOrUpdatePositionsToFix
{
/**
* Led issue object
*/
@ApiMember(Description="Led issue object", IsRequired=true)
public LedIssue LedIssue = null;
public LedIssue getLedIssue() { return LedIssue; }
public SetOrUpdatePositionsToFix setLedIssue(LedIssue value) { this.LedIssue = value; return this; }
}
public static class LedIssue
{
public Integer ID = null;
public Integer ReservedDateTime = null;
public Integer AreaID = null;
public String PositionKey = null;
public String Note = null;
public String Owner = null;
public LedIssueReason Reason = null;
public LedIssueStatus Status = null;
public Integer getId() { return ID; }
public LedIssue setId(Integer value) { this.ID = value; return this; }
public Integer getReservedDateTime() { return ReservedDateTime; }
public LedIssue setReservedDateTime(Integer value) { this.ReservedDateTime = value; return this; }
public Integer getAreaID() { return AreaID; }
public LedIssue setAreaID(Integer value) { this.AreaID = value; return this; }
public String getPositionKey() { return PositionKey; }
public LedIssue setPositionKey(String value) { this.PositionKey = value; return this; }
public String getNote() { return Note; }
public LedIssue setNote(String value) { this.Note = value; return this; }
public String getOwner() { return Owner; }
public LedIssue setOwner(String value) { this.Owner = value; return this; }
public LedIssueReason getReason() { return Reason; }
public LedIssue setReason(LedIssueReason value) { this.Reason = value; return this; }
public LedIssueStatus getStatus() { return Status; }
public LedIssue setStatus(LedIssueStatus value) { this.Status = value; return this; }
}
@Flags()
public static enum LedIssueReason
{
@SerializedName("0") Unkown(0),
@SerializedName("1") Misplaced(1),
@SerializedName("2") Broken(2),
@SerializedName("3") NotDefined(3),
@SerializedName("4") Overlapping(4),
@SerializedName("5") Missing(5),
@SerializedName("6") CS01Misplaced(6),
@SerializedName("7") CS01NotDefined(7);
private final int value;
LedIssueReason(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
@Flags()
public static enum LedIssueStatus
{
@SerializedName("0") Null(0),
@SerializedName("1") Ignored(1),
@SerializedName("2") Tobetreated(2);
private final int value;
LedIssueStatus(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
Java SetOrUpdatePositionsToFix 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SetOrUpdatePositionsToFix HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"LedIssue":{"ID":0,"ReservedDateTime":0,"AreaID":0,"PositionKey":"String","Note":"String","Owner":"String","Reason":0,"Status":0}}