product recommendations api integration, content bytes

This commit is contained in:
jayesh
2024-05-08 17:15:26 +05:30
parent a2796be19c
commit 8d526c7b65
15 changed files with 435 additions and 132 deletions

View File

@@ -182,6 +182,7 @@ class NewReleaseAudio {
String? title;
String? file;
int? categoryId;
String? link;
String? image;
String? isActive;
String? createdAt;
@@ -195,6 +196,7 @@ class NewReleaseAudio {
this.categoryId,
this.image,
this.isActive,
this.link,
this.createdAt,
this.formattedCreatedAt,
this.fullCreatedAt});
@@ -205,6 +207,7 @@ class NewReleaseAudio {
file = json['file'];
categoryId = json['category_id'];
image = json['image'];
link = json['link'];
isActive = json['is_active'];
createdAt = json['created_at'];
formattedCreatedAt = json['formatted_created_at'];
@@ -218,6 +221,7 @@ class NewReleaseAudio {
data['file'] = file;
data['category_id'] = categoryId;
data['image'] = image;
data['link'] = link;
data['is_active'] = isActive;
data['created_at'] = createdAt;
data['formatted_created_at'] = formattedCreatedAt;

View File

@@ -75,6 +75,7 @@ class ContentByteData {
int? categoryId;
String? image;
String? isActive;
String? description;
String? createdAt;
ContentByteData(
@@ -82,6 +83,7 @@ class ContentByteData {
this.title,
this.file,
this.categoryId,
this.description,
this.image,
this.isActive,
this.createdAt});
@@ -89,6 +91,7 @@ class ContentByteData {
ContentByteData.fromJson(Map<String, dynamic> json) {
id = json['id'];
title = json['title'];
description = json["description"];
file = json['file'];
categoryId = json['category_id'];
image = json['image'];
@@ -105,6 +108,7 @@ class ContentByteData {
data['image'] = image;
data['is_active'] = isActive;
data['created_at'] = createdAt;
data['description'] = description;
return data;
}
}

View File

@@ -77,6 +77,7 @@ class ActiveCalls {
String? createdAt;
int? optionTypeXid;
ProductTypeData? productTypeData;
String? docs;
ActionData? optionTypeData;
ActionData? actionData;
@@ -90,6 +91,7 @@ class ActiveCalls {
this.qty,
this.duration,
this.currentPrice,
this.docs,
this.buyPrice,
this.targetPrice,
this.stopLoss,
@@ -111,6 +113,7 @@ class ActiveCalls {
qty = json['qty'];
duration = json['duration'];
currentPrice = json['current_price'];
docs = json['docs'];
buyPrice = json['buy_price'];
targetPrice = json['target_price'];
stopLoss = json['stop_loss'];
@@ -142,6 +145,7 @@ class ActiveCalls {
data['current_price'] = currentPrice;
data['buy_price'] = buyPrice;
data['target_price'] = targetPrice;
data['docs'] = docs;
data['stop_loss'] = stopLoss;
data['is_send_recommendation_now'] = isSendRecommendationNow;
data['schedule_date_time'] = scheduleDateTime;