| 1 | package Google::Cloud::Financialservices::V1::BacktestResult::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'BacktestResult', | ||
| 11 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult']; | ||
| 12 | |||
| 13 | coerce 'BacktestResult', | ||
| 14 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedBacktestResult', | ||
| 17 | as ArrayRef[BacktestResult()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedBacktestResult', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringBacktestResult', | ||
| 23 | as HashRef[BacktestResult()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'PerformanceTarget', | ||
| 29 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::PerformanceTarget']; | ||
| 30 | |||
| 31 | coerce 'PerformanceTarget', | ||
| 32 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::PerformanceTarget'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedPerformanceTarget', | ||
| 35 | as ArrayRef[PerformanceTarget()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedPerformanceTarget', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::PerformanceTarget'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringPerformanceTarget', | ||
| 41 | as HashRef[PerformanceTarget()]; | ||
| 42 | |||
| 43 | declare 'LabelsEntry', | ||
| 44 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::LabelsEntry']; | ||
| 45 | |||
| 46 | coerce 'LabelsEntry', | ||
| 47 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::LabelsEntry'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedLabelsEntry', | ||
| 50 | as ArrayRef[LabelsEntry()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedLabelsEntry', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::LabelsEntry'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringLabelsEntry', | ||
| 56 | as HashRef[LabelsEntry()]; | ||
| 57 | |||
| 58 | declare 'ListBacktestResultsRequest', | ||
| 59 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsRequest']; | ||
| 60 | |||
| 61 | coerce 'ListBacktestResultsRequest', | ||
| 62 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsRequest'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedListBacktestResultsRequest', | ||
| 65 | as ArrayRef[ListBacktestResultsRequest()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedListBacktestResultsRequest', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsRequest'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringListBacktestResultsRequest', | ||
| 71 | as HashRef[ListBacktestResultsRequest()]; | ||
| 72 | |||
| 73 | declare 'ListBacktestResultsResponse', | ||
| 74 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsResponse']; | ||
| 75 | |||
| 76 | coerce 'ListBacktestResultsResponse', | ||
| 77 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsResponse'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedListBacktestResultsResponse', | ||
| 80 | as ArrayRef[ListBacktestResultsResponse()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedListBacktestResultsResponse', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsResponse'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringListBacktestResultsResponse', | ||
| 86 | as HashRef[ListBacktestResultsResponse()]; | ||
| 87 | |||
| 88 | declare 'GetBacktestResultRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::GetBacktestResultRequest']; | ||
| 90 | |||
| 91 | coerce 'GetBacktestResultRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::GetBacktestResultRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedGetBacktestResultRequest', | ||
| 95 | as ArrayRef[GetBacktestResultRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedGetBacktestResultRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::GetBacktestResultRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringGetBacktestResultRequest', | ||
| 101 | as HashRef[GetBacktestResultRequest()]; | ||
| 102 | |||
| 103 | declare 'CreateBacktestResultRequest', | ||
| 104 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::CreateBacktestResultRequest']; | ||
| 105 | |||
| 106 | coerce 'CreateBacktestResultRequest', | ||
| 107 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::CreateBacktestResultRequest'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedCreateBacktestResultRequest', | ||
| 110 | as ArrayRef[CreateBacktestResultRequest()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedCreateBacktestResultRequest', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::CreateBacktestResultRequest'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringCreateBacktestResultRequest', | ||
| 116 | as HashRef[CreateBacktestResultRequest()]; | ||
| 117 | |||
| 118 | declare 'UpdateBacktestResultRequest', | ||
| 119 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::UpdateBacktestResultRequest']; | ||
| 120 | |||
| 121 | coerce 'UpdateBacktestResultRequest', | ||
| 122 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::UpdateBacktestResultRequest'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedUpdateBacktestResultRequest', | ||
| 125 | as ArrayRef[UpdateBacktestResultRequest()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedUpdateBacktestResultRequest', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::UpdateBacktestResultRequest'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringUpdateBacktestResultRequest', | ||
| 131 | as HashRef[UpdateBacktestResultRequest()]; | ||
| 132 | |||
| 133 | declare 'DeleteBacktestResultRequest', | ||
| 134 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::DeleteBacktestResultRequest']; | ||
| 135 | |||
| 136 | coerce 'DeleteBacktestResultRequest', | ||
| 137 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::DeleteBacktestResultRequest'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedDeleteBacktestResultRequest', | ||
| 140 | as ArrayRef[DeleteBacktestResultRequest()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedDeleteBacktestResultRequest', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::DeleteBacktestResultRequest'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringDeleteBacktestResultRequest', | ||
| 146 | as HashRef[DeleteBacktestResultRequest()]; | ||
| 147 | |||
| 148 | declare 'ExportBacktestResultMetadataRequest', | ||
| 149 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataRequest']; | ||
| 150 | |||
| 151 | coerce 'ExportBacktestResultMetadataRequest', | ||
| 152 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataRequest'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedExportBacktestResultMetadataRequest', | ||
| 155 | as ArrayRef[ExportBacktestResultMetadataRequest()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedExportBacktestResultMetadataRequest', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataRequest'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringExportBacktestResultMetadataRequest', | ||
| 161 | as HashRef[ExportBacktestResultMetadataRequest()]; | ||
| 162 | |||
| 163 | declare 'ExportBacktestResultMetadataResponse', | ||
| 164 | as InstanceOf['Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataResponse']; | ||
| 165 | |||
| 166 | coerce 'ExportBacktestResultMetadataResponse', | ||
| 167 | from HashRef, via { 'Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataResponse'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedExportBacktestResultMetadataResponse', | ||
| 170 | as ArrayRef[ExportBacktestResultMetadataResponse()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedExportBacktestResultMetadataResponse', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataResponse'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringExportBacktestResultMetadataResponse', | ||
| 176 | as HashRef[ExportBacktestResultMetadataResponse()]; | ||
| 177 | |||
| 178 | 1; | ||
| 179 | |||
| 180 | __END__ |