UpdateIntentRequest constructor

UpdateIntentRequest({
  1. Intent? intent,
  2. String? languageCode,
  3. FieldMask? updateMask,
  4. IntentView? intentView,
})

Implementation

factory UpdateIntentRequest({
  Intent? intent,
  $core.String? languageCode,
  $18.FieldMask? updateMask,
  IntentView? intentView,
}) {
  final _result = create();
  if (intent != null) {
    _result.intent = intent;
  }
  if (languageCode != null) {
    _result.languageCode = languageCode;
  }
  if (updateMask != null) {
    _result.updateMask = updateMask;
  }
  if (intentView != null) {
    _result.intentView = intentView;
  }
  return _result;
}