28 lines
783 B
Dart
28 lines
783 B
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
|
|
// ignore_for_file: unused_element
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
/// How a portfolio can be sliced. Every dimension covers the SAME total — securities plus cash — so the weights of any one of them add up to 1 and the charts agree.
|
|
enum AllocationDimension {
|
|
@JsonValue(r'asset_class')
|
|
assetClass(r'asset_class'),
|
|
@JsonValue(r'sector')
|
|
sector(r'sector'),
|
|
@JsonValue(r'country')
|
|
country(r'country'),
|
|
@JsonValue(r'currency')
|
|
currency(r'currency'),
|
|
@JsonValue(r'unknown_default_open_api')
|
|
unknownDefaultOpenApi(r'unknown_default_open_api');
|
|
|
|
const AllocationDimension(this.value);
|
|
|
|
final String value;
|
|
|
|
@override
|
|
String toString() => value;
|
|
}
|