ClientStreamsServiceCreateRequest constructor

ClientStreamsServiceCreateRequest({
  1. String? entityUuid,
  2. String? userComment,
  3. Int64? vaultFolderId,
  4. String? title,
  5. Int64? clientId,
  6. CLIENT_STREAM_REF_FROM? refFrom,
  7. Int64? refId,
  8. bool? assignSelfAsInternalSubscriber,
  9. bool? assignSelfAsClientSubscriber,
})

Implementation

factory ClientStreamsServiceCreateRequest({
  $core.String? entityUuid,
  $core.String? userComment,
  $fixnum.Int64? vaultFolderId,
  $core.String? title,
  $fixnum.Int64? clientId,
  CLIENT_STREAM_REF_FROM? refFrom,
  $fixnum.Int64? refId,
  $core.bool? assignSelfAsInternalSubscriber,
  $core.bool? assignSelfAsClientSubscriber,
}) {
  final result = create();
  if (entityUuid != null) result.entityUuid = entityUuid;
  if (userComment != null) result.userComment = userComment;
  if (vaultFolderId != null) result.vaultFolderId = vaultFolderId;
  if (title != null) result.title = title;
  if (clientId != null) result.clientId = clientId;
  if (refFrom != null) result.refFrom = refFrom;
  if (refId != null) result.refId = refId;
  if (assignSelfAsInternalSubscriber != null)
    result.assignSelfAsInternalSubscriber = assignSelfAsInternalSubscriber;
  if (assignSelfAsClientSubscriber != null)
    result.assignSelfAsClientSubscriber = assignSelfAsClientSubscriber;
  return result;
}