AddInstanceRequest constructor

AddInstanceRequest({
  1. String? instanceName,
  2. String? firstOrgName,
  3. String? customDomain,
  4. String? ownerUserName,
  5. AddInstanceRequest_Email? ownerEmail,
  6. AddInstanceRequest_Profile? ownerProfile,
  7. AddInstanceRequest_Password? ownerPassword,
  8. String? defaultLanguage,
})

Implementation

factory AddInstanceRequest({
  $core.String? instanceName,
  $core.String? firstOrgName,
  $core.String? customDomain,
  $core.String? ownerUserName,
  AddInstanceRequest_Email? ownerEmail,
  AddInstanceRequest_Profile? ownerProfile,
  AddInstanceRequest_Password? ownerPassword,
  $core.String? defaultLanguage,
}) {
  final $result = create();
  if (instanceName != null) {
    $result.instanceName = instanceName;
  }
  if (firstOrgName != null) {
    $result.firstOrgName = firstOrgName;
  }
  if (customDomain != null) {
    $result.customDomain = customDomain;
  }
  if (ownerUserName != null) {
    $result.ownerUserName = ownerUserName;
  }
  if (ownerEmail != null) {
    $result.ownerEmail = ownerEmail;
  }
  if (ownerProfile != null) {
    $result.ownerProfile = ownerProfile;
  }
  if (ownerPassword != null) {
    $result.ownerPassword = ownerPassword;
  }
  if (defaultLanguage != null) {
    $result.defaultLanguage = defaultLanguage;
  }
  return $result;
}