BatchCreateMessagesRequest constructor

BatchCreateMessagesRequest({
  1. String? parent,
  2. Iterable<CreateMessageRequest>? requests,
})

Implementation

factory BatchCreateMessagesRequest({
  $core.String? parent,
  $core.Iterable<CreateMessageRequest>? requests,
}) {
  final _result = create();
  if (parent != null) {
    _result.parent = parent;
  }
  if (requests != null) {
    _result.requests.addAll(requests);
  }
  return _result;
}