CreateCustomClassRequest constructor

CreateCustomClassRequest({
  1. CustomClass? customClass,
  2. bool? validateOnly,
  3. String? customClassId,
  4. String? parent,
})

Implementation

factory CreateCustomClassRequest({
  CustomClass? customClass,
  $core.bool? validateOnly,
  $core.String? customClassId,
  $core.String? parent,
}) {
  final $result = create();
  if (customClass != null) {
    $result.customClass = customClass;
  }
  if (validateOnly != null) {
    $result.validateOnly = validateOnly;
  }
  if (customClassId != null) {
    $result.customClassId = customClassId;
  }
  if (parent != null) {
    $result.parent = parent;
  }
  return $result;
}