ClientActionRequest
NameSpace: StarMicronics.CloudPrnt.CpMessage
Syntax
public class ClientActionRequest
Constructors
ClientActionRequest()
Declaration
public ClientActionRequest()
ClientActionRequest(ClientActions, String)
Declaration
public ClientActionRequest(ClientActions type, string options)
Type |
Name |
Description |
---|---|---|
type |
Specify the ClientAction request type as a ClientActions Enum. |
|
System.String |
options |
Specify any options required by this ClientAction (for example SetID types should specify the required ID ad an option value). |
ClientActionRequest(String, String)
Declaration
public ClientActionRequest(string request, string options)
Type |
Name |
Description |
---|---|---|
System.String |
request |
Specify the ClientAction request type type as a string. |
System.String |
options |
Specify any options required by this ClientAction (for example SetID types should specify the required ID ad an option value). |
Properties
Options
Declaration
public string Options { get; set; }
Property Value
Type |
Description |
---|---|
System.String |
Request
Declaration
public string Request { get; set; }
Property Value
Type |
Description |
---|---|
System.String |
Type
Declaration
public ClientActions Type { get; set; }
Property Value
Type |
Description |
---|---|
Methods
ClientActionFromRequestString(String)
Declaration
public static ClientActions ClientActionFromRequestString(string request)
Parameters
Type |
Name |
Description |
---|---|---|
System.String |
request |
CloudPRNT ClientAction request value. |
Returns
Type |
Description |
---|---|
A ClientActions Enum value that corresponds to the sgiven ‘request’ string, or ClientActions |
ClientActionRequestString(ClientActions)
Declaration
public static string ClientActionRequestString(ClientActions type)
Parameters
Type |
Name |
Description |
---|---|---|
type |
Returns
Type |
Description |
---|---|
System.String |
Request string that corresponds to ‘type’, returns an empty string if un recognised or if ‘type’ holds the value ClientAction.Other. |