PostsInput constructor

PostsInput({
  1. required String userId,
  2. required String companyId,
  3. required String title,
  4. String? category,
  5. String? teaser,
  6. required String contentHtml,
  7. Object? insightsUsed,
  8. int? generationCreativity,
  9. int? generationTargetWordCount,
  10. String? generationTone,
  11. bool? generationIncludeCitations,
  12. int? generationSubheadingCount,
  13. double? generationTemperature,
  14. int? dataCostCredits,
  15. int? serviceCostCredits,
  16. int? totalCostCredits,
  17. int? successfulInsightsCount,
  18. int? failedInsightsCount,
  19. int? generationTimeMs,
  20. bool? isPublished,
  21. DateTime? publishedAt,
  22. int? viewCount,
  23. DateTime? lastEditedAt,
})

Returns a new PostsInput instance.

Implementation

PostsInput({
  required this.userId,
  required this.companyId,
  required this.title,
  this.category,
  this.teaser,
  required this.contentHtml,
  this.insightsUsed,
  this.generationCreativity,
  this.generationTargetWordCount,
  this.generationTone,
  this.generationIncludeCitations,
  this.generationSubheadingCount,
  this.generationTemperature,
  this.dataCostCredits,
  this.serviceCostCredits,
  this.totalCostCredits,
  this.successfulInsightsCount,
  this.failedInsightsCount,
  this.generationTimeMs,
  this.isPublished,
  this.publishedAt,
  this.viewCount,
  this.lastEditedAt,
});