Skip to content

Commit 86b3fd7

Browse files
committed
Restore projectId to HttpApiData
1 parent cb4e908 commit 86b3fd7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lib/src/model/model_http_request.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ extension HttpMethodExt on HttpMethod {
5353
class HttpApiData extends PrivacyBase {
5454
final String id;
5555
final String name;
56+
final String project;
5657
final HttpMethod method;
5758
final String url;
5859
final List<HttpKeyValuePair> headers;
@@ -83,6 +84,7 @@ class HttpApiData extends PrivacyBase {
8384
this.bodyType = RequestBodyType.text,
8485
required this.name,
8586
this.id = '',
87+
this.project = '',
8688
List<VariableData> variables = const [],
8789
this.isDeleted = false,
8890
DateTime? lastUpdated,
@@ -110,6 +112,7 @@ class HttpApiData extends PrivacyBase {
110112
this.bodyType = RequestBodyType.text,
111113
required this.name,
112114
this.id = '',
115+
this.project = '',
113116
List<VariableData> variables = const [],
114117
this.isDeleted = false,
115118
DateTime? lastUpdated,
@@ -156,6 +159,7 @@ class HttpApiData extends PrivacyBase {
156159
formFields: formFields ?? this.formFields,
157160
variables: variables ?? this.variables,
158161
name: name ?? this.name,
162+
project: project ?? this.project,
159163
id: id ?? this.id,
160164
isDeleted: isDeleted ?? this.isDeleted,
161165
lastUpdated: lastUpdated ?? this.lastUpdated,

lib/src/model/model_http_request.g.dart

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)