PollResponse
NameSpace: StarMicronics.CloudPrnt.CpMessage
Syntax
public class PollResponse
Properties
claimBarcodeReader
Declaration
public List<string> claimBarcodeReader { get; set; }
Property Value
Type |
Description |
---|---|
System.Collections.Generic.List<System.String> |
claimKeyboard
Declaration
public List<string> claimKeyboard { get; set; }
Property Value
Type |
Description |
---|---|
System.Collections.Generic.List<System.String> |
clientAction
Declaration
public List<ClientActionRequest> clientAction { get; set; }
Property Value
Type |
Description |
---|---|
System.Collections.Generic.List< ClientActionRequest > |
deleteMethod
Declaration
public string deleteMethod { get; set; }
Property Value
Type |
Description |
---|---|
System.String |
display
Declaration
public List<DisplayUpdate> display { get; set; }
Property Value
Type |
Description |
---|---|
System.Collections.Generic.List< DisplayUpdate > |
jobReady
Declaration
public bool jobReady { get; set; }
Property Value
Type |
Description |
---|---|
System.Boolean |
mediaTypes
Declaration
public bool jobReady { get; set; }
Property Value
Type |
Description |
---|---|
System.Boolean |
Methods
ToJson(PollResponse, Boolean)
Declaration
public static string ToJson(PollResponse pollResponse, bool indented = false)
Parameters
Type |
Name |
Description |
---|---|---|
pollResponse |
PollResponse object to be serialized |
|
System.Boolean |
indented |
Set to true to format/indent the JSON. Intended to generate human readabe data for debugging (defaults to false) |
Returns
Type |
Description |
---|---|
System.String` |
CloudPRNT compatible JSON polling POST response data. |
ToJson(Boolean)
Declaration
public string ToJson(bool indented = false)
Parameters
Type |
Name |
Description |
---|---|---|
System.Boolean |
indented |
Set to true to generate indented, human readable style JSON data (intended for debugging). |
Returns
Type |
Description |
---|---|
System.String` |