chore(app): перегенерировать Dart-клиент
Портфели, создание счетов, ручные события, PATCH инструмента, ScopeCardOut, MetricsStatusOut, логотипы в HoldingOut.
This commit is contained in:
@@ -36,6 +36,8 @@ class AccountOut {
|
||||
|
||||
required this.currency,
|
||||
|
||||
required this.disabled,
|
||||
|
||||
required this.id,
|
||||
|
||||
required this.includeInNetWorth,
|
||||
@@ -57,6 +59,8 @@ class AccountOut {
|
||||
required this.sourceId,
|
||||
|
||||
required this.startBalance,
|
||||
|
||||
this.valueRub,
|
||||
});
|
||||
|
||||
@JsonKey(
|
||||
@@ -134,6 +138,18 @@ class AccountOut {
|
||||
|
||||
|
||||
|
||||
@JsonKey(
|
||||
|
||||
name: r'disabled',
|
||||
required: true,
|
||||
includeIfNull: false,
|
||||
)
|
||||
|
||||
|
||||
final bool disabled;
|
||||
|
||||
|
||||
|
||||
@JsonKey(
|
||||
|
||||
name: r'id',
|
||||
@@ -270,6 +286,19 @@ class AccountOut {
|
||||
|
||||
|
||||
|
||||
/// decimal as string
|
||||
@JsonKey(
|
||||
|
||||
name: r'value_rub',
|
||||
required: false,
|
||||
includeIfNull: false,
|
||||
)
|
||||
|
||||
|
||||
final String? valueRub;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@override
|
||||
@@ -280,6 +309,7 @@ class AccountOut {
|
||||
other.broker == broker &&
|
||||
other.creditLimit == creditLimit &&
|
||||
other.currency == currency &&
|
||||
other.disabled == disabled &&
|
||||
other.id == id &&
|
||||
other.includeInNetWorth == includeInNetWorth &&
|
||||
other.kind == kind &&
|
||||
@@ -290,7 +320,8 @@ class AccountOut {
|
||||
other.role == role &&
|
||||
other.source_ == source_ &&
|
||||
other.sourceId == sourceId &&
|
||||
other.startBalance == startBalance;
|
||||
other.startBalance == startBalance &&
|
||||
other.valueRub == valueRub;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
@@ -300,6 +331,7 @@ class AccountOut {
|
||||
(broker == null ? 0 : broker.hashCode) +
|
||||
(creditLimit == null ? 0 : creditLimit.hashCode) +
|
||||
currency.hashCode +
|
||||
disabled.hashCode +
|
||||
id.hashCode +
|
||||
includeInNetWorth.hashCode +
|
||||
kind.hashCode +
|
||||
@@ -310,7 +342,8 @@ class AccountOut {
|
||||
role.hashCode +
|
||||
source_.hashCode +
|
||||
sourceId.hashCode +
|
||||
(startBalance == null ? 0 : startBalance.hashCode);
|
||||
(startBalance == null ? 0 : startBalance.hashCode) +
|
||||
(valueRub == null ? 0 : valueRub.hashCode);
|
||||
|
||||
factory AccountOut.fromJson(Map<String, dynamic> json) => _$AccountOutFromJson(json);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user