/// <summary>
 /// Initializes a new instance of the RobotCommand class.
 /// </summary>
 /// <param name="robotKey">Target robot</param>
 /// <param name="robotType">Possible values include: 'NonProduction',
 /// 'Attended', 'Unattended', 'Development'</param>
 public RobotCommand(string robotKey = default(string), string username = default(string), string robotName = default(string), RobotCommandRobotType?robotType = default(RobotCommandRobotType?), bool?hasLicense = default(bool?), IDictionary <string, object> executionSettings = default(IDictionary <string, object>), Command data = default(Command))
 {
     RobotKey          = robotKey;
     Username          = username;
     RobotName         = robotName;
     RobotType         = robotType;
     HasLicense        = hasLicense;
     ExecutionSettings = executionSettings;
     Data = data;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the RobotCommand class.
 /// </summary>
 /// <param name="robotKey">Target robot</param>
 /// <param name="robotType">Possible values include: 'NonProduction',
 /// 'Attended', 'Unattended', 'Studio', 'Development', 'StudioX',
 /// 'Headless', 'StudioPro', 'TestAutomation'</param>
 public RobotCommand(string robotKey = default(string), string username = default(string), string robotName = default(string), RobotCommandRobotType?robotType = default(RobotCommandRobotType?), long?machineId = default(long?), bool?hasLicense = default(bool?), bool?isExternalLicensed = default(bool?), IDictionary <string, object> executionSettings = default(IDictionary <string, object>), IDictionary <string, object> authSettings = default(IDictionary <string, object>), Command data = default(Command))
 {
     RobotKey           = robotKey;
     Username           = username;
     RobotName          = robotName;
     RobotType          = robotType;
     MachineId          = machineId;
     HasLicense         = hasLicense;
     IsExternalLicensed = isExternalLicensed;
     ExecutionSettings  = executionSettings;
     AuthSettings       = authSettings;
     Data = data;
     CustomInit();
 }
 internal static string ToSerializedValue(this RobotCommandRobotType?value)
 {
     return(value == null ? null : ((RobotCommandRobotType)value).ToSerializedValue());
 }