CreateInstanceRequest_Machine constructor

CreateInstanceRequest_Machine({
  1. String? userName,
  2. String? name,
  3. CreateInstanceRequest_PersonalAccessToken? personalAccessToken,
  4. CreateInstanceRequest_MachineKey? machineKey,
})

Implementation

factory CreateInstanceRequest_Machine({
  $core.String? userName,
  $core.String? name,
  CreateInstanceRequest_PersonalAccessToken? personalAccessToken,
  CreateInstanceRequest_MachineKey? machineKey,
}) {
  final $result = create();
  if (userName != null) {
    $result.userName = userName;
  }
  if (name != null) {
    $result.name = name;
  }
  if (personalAccessToken != null) {
    $result.personalAccessToken = personalAccessToken;
  }
  if (machineKey != null) {
    $result.machineKey = machineKey;
  }
  return $result;
}