CreatePhraseSetRequest constructor

CreatePhraseSetRequest({
  1. PhraseSet? phraseSet,
  2. bool? validateOnly,
  3. String? phraseSetId,
  4. String? parent,
})

Implementation

factory CreatePhraseSetRequest({
  PhraseSet? phraseSet,
  $core.bool? validateOnly,
  $core.String? phraseSetId,
  $core.String? parent,
}) {
  final $result = create();
  if (phraseSet != null) {
    $result.phraseSet = phraseSet;
  }
  if (validateOnly != null) {
    $result.validateOnly = validateOnly;
  }
  if (phraseSetId != null) {
    $result.phraseSetId = phraseSetId;
  }
  if (parent != null) {
    $result.parent = parent;
  }
  return $result;
}