| 1 | package Google::Cloud::Chronicle::V1::NativeDashboard::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 'DashboardType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'DashboardAccess', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'NativeDashboardView', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'ExportNativeDashboardsRequest', | ||
| 20 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ExportNativeDashboardsRequest']; | ||
| 21 | |||
| 22 | coerce 'ExportNativeDashboardsRequest', | ||
| 23 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ExportNativeDashboardsRequest'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedExportNativeDashboardsRequest', | ||
| 26 | as ArrayRef[ExportNativeDashboardsRequest()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedExportNativeDashboardsRequest', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ExportNativeDashboardsRequest'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringExportNativeDashboardsRequest', | ||
| 32 | as HashRef[ExportNativeDashboardsRequest()]; | ||
| 33 | |||
| 34 | declare 'ExportNativeDashboardsResponse', | ||
| 35 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ExportNativeDashboardsResponse']; | ||
| 36 | |||
| 37 | coerce 'ExportNativeDashboardsResponse', | ||
| 38 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ExportNativeDashboardsResponse'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedExportNativeDashboardsResponse', | ||
| 41 | as ArrayRef[ExportNativeDashboardsResponse()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedExportNativeDashboardsResponse', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ExportNativeDashboardsResponse'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringExportNativeDashboardsResponse', | ||
| 47 | as HashRef[ExportNativeDashboardsResponse()]; | ||
| 48 | |||
| 49 | declare 'InlineDestination', | ||
| 50 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::InlineDestination']; | ||
| 51 | |||
| 52 | coerce 'InlineDestination', | ||
| 53 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::InlineDestination'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedInlineDestination', | ||
| 56 | as ArrayRef[InlineDestination()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedInlineDestination', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::InlineDestination'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringInlineDestination', | ||
| 62 | as HashRef[InlineDestination()]; | ||
| 63 | |||
| 64 | declare 'NativeDashboardWithChartsAndQueries', | ||
| 65 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::NativeDashboardWithChartsAndQueries']; | ||
| 66 | |||
| 67 | coerce 'NativeDashboardWithChartsAndQueries', | ||
| 68 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::NativeDashboardWithChartsAndQueries'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedNativeDashboardWithChartsAndQueries', | ||
| 71 | as ArrayRef[NativeDashboardWithChartsAndQueries()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedNativeDashboardWithChartsAndQueries', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::NativeDashboardWithChartsAndQueries'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringNativeDashboardWithChartsAndQueries', | ||
| 77 | as HashRef[NativeDashboardWithChartsAndQueries()]; | ||
| 78 | |||
| 79 | declare 'ImportNativeDashboardsRequest', | ||
| 80 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsRequest']; | ||
| 81 | |||
| 82 | coerce 'ImportNativeDashboardsRequest', | ||
| 83 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsRequest'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedImportNativeDashboardsRequest', | ||
| 86 | as ArrayRef[ImportNativeDashboardsRequest()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedImportNativeDashboardsRequest', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsRequest'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringImportNativeDashboardsRequest', | ||
| 92 | as HashRef[ImportNativeDashboardsRequest()]; | ||
| 93 | |||
| 94 | declare 'ImportNativeDashboardsInlineSource', | ||
| 95 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsInlineSource']; | ||
| 96 | |||
| 97 | coerce 'ImportNativeDashboardsInlineSource', | ||
| 98 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsInlineSource'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedImportNativeDashboardsInlineSource', | ||
| 101 | as ArrayRef[ImportNativeDashboardsInlineSource()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedImportNativeDashboardsInlineSource', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsInlineSource'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringImportNativeDashboardsInlineSource', | ||
| 107 | as HashRef[ImportNativeDashboardsInlineSource()]; | ||
| 108 | |||
| 109 | declare 'ImportNativeDashboardsResponse', | ||
| 110 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsResponse']; | ||
| 111 | |||
| 112 | coerce 'ImportNativeDashboardsResponse', | ||
| 113 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsResponse'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedImportNativeDashboardsResponse', | ||
| 116 | as ArrayRef[ImportNativeDashboardsResponse()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedImportNativeDashboardsResponse', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportNativeDashboardsResponse'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringImportNativeDashboardsResponse', | ||
| 122 | as HashRef[ImportNativeDashboardsResponse()]; | ||
| 123 | |||
| 124 | declare 'ImportExportStatus', | ||
| 125 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ImportExportStatus']; | ||
| 126 | |||
| 127 | coerce 'ImportExportStatus', | ||
| 128 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportExportStatus'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedImportExportStatus', | ||
| 131 | as ArrayRef[ImportExportStatus()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedImportExportStatus', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ImportExportStatus'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringImportExportStatus', | ||
| 137 | as HashRef[ImportExportStatus()]; | ||
| 138 | |||
| 139 | declare 'NativeDashboard', | ||
| 140 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::NativeDashboard']; | ||
| 141 | |||
| 142 | coerce 'NativeDashboard', | ||
| 143 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::NativeDashboard'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedNativeDashboard', | ||
| 146 | as ArrayRef[NativeDashboard()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedNativeDashboard', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::NativeDashboard'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringNativeDashboard', | ||
| 152 | as HashRef[NativeDashboard()]; | ||
| 153 | |||
| 154 | declare 'CreateNativeDashboardRequest', | ||
| 155 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::CreateNativeDashboardRequest']; | ||
| 156 | |||
| 157 | coerce 'CreateNativeDashboardRequest', | ||
| 158 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::CreateNativeDashboardRequest'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedCreateNativeDashboardRequest', | ||
| 161 | as ArrayRef[CreateNativeDashboardRequest()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedCreateNativeDashboardRequest', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::CreateNativeDashboardRequest'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringCreateNativeDashboardRequest', | ||
| 167 | as HashRef[CreateNativeDashboardRequest()]; | ||
| 168 | |||
| 169 | declare 'GetNativeDashboardRequest', | ||
| 170 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::GetNativeDashboardRequest']; | ||
| 171 | |||
| 172 | coerce 'GetNativeDashboardRequest', | ||
| 173 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::GetNativeDashboardRequest'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedGetNativeDashboardRequest', | ||
| 176 | as ArrayRef[GetNativeDashboardRequest()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedGetNativeDashboardRequest', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::GetNativeDashboardRequest'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringGetNativeDashboardRequest', | ||
| 182 | as HashRef[GetNativeDashboardRequest()]; | ||
| 183 | |||
| 184 | declare 'ListNativeDashboardsRequest', | ||
| 185 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ListNativeDashboardsRequest']; | ||
| 186 | |||
| 187 | coerce 'ListNativeDashboardsRequest', | ||
| 188 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ListNativeDashboardsRequest'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedListNativeDashboardsRequest', | ||
| 191 | as ArrayRef[ListNativeDashboardsRequest()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedListNativeDashboardsRequest', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ListNativeDashboardsRequest'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringListNativeDashboardsRequest', | ||
| 197 | as HashRef[ListNativeDashboardsRequest()]; | ||
| 198 | |||
| 199 | declare 'ListNativeDashboardsResponse', | ||
| 200 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::ListNativeDashboardsResponse']; | ||
| 201 | |||
| 202 | coerce 'ListNativeDashboardsResponse', | ||
| 203 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::ListNativeDashboardsResponse'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedListNativeDashboardsResponse', | ||
| 206 | as ArrayRef[ListNativeDashboardsResponse()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedListNativeDashboardsResponse', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::ListNativeDashboardsResponse'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringListNativeDashboardsResponse', | ||
| 212 | as HashRef[ListNativeDashboardsResponse()]; | ||
| 213 | |||
| 214 | declare 'UpdateNativeDashboardRequest', | ||
| 215 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::UpdateNativeDashboardRequest']; | ||
| 216 | |||
| 217 | coerce 'UpdateNativeDashboardRequest', | ||
| 218 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::UpdateNativeDashboardRequest'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedUpdateNativeDashboardRequest', | ||
| 221 | as ArrayRef[UpdateNativeDashboardRequest()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedUpdateNativeDashboardRequest', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::UpdateNativeDashboardRequest'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringUpdateNativeDashboardRequest', | ||
| 227 | as HashRef[UpdateNativeDashboardRequest()]; | ||
| 228 | |||
| 229 | declare 'DuplicateNativeDashboardRequest', | ||
| 230 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateNativeDashboardRequest']; | ||
| 231 | |||
| 232 | coerce 'DuplicateNativeDashboardRequest', | ||
| 233 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateNativeDashboardRequest'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedDuplicateNativeDashboardRequest', | ||
| 236 | as ArrayRef[DuplicateNativeDashboardRequest()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedDuplicateNativeDashboardRequest', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateNativeDashboardRequest'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringDuplicateNativeDashboardRequest', | ||
| 242 | as HashRef[DuplicateNativeDashboardRequest()]; | ||
| 243 | |||
| 244 | declare 'DeleteNativeDashboardRequest', | ||
| 245 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DeleteNativeDashboardRequest']; | ||
| 246 | |||
| 247 | coerce 'DeleteNativeDashboardRequest', | ||
| 248 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DeleteNativeDashboardRequest'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedDeleteNativeDashboardRequest', | ||
| 251 | as ArrayRef[DeleteNativeDashboardRequest()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedDeleteNativeDashboardRequest', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DeleteNativeDashboardRequest'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringDeleteNativeDashboardRequest', | ||
| 257 | as HashRef[DeleteNativeDashboardRequest()]; | ||
| 258 | |||
| 259 | declare 'AddChartRequest', | ||
| 260 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::AddChartRequest']; | ||
| 261 | |||
| 262 | coerce 'AddChartRequest', | ||
| 263 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::AddChartRequest'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedAddChartRequest', | ||
| 266 | as ArrayRef[AddChartRequest()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedAddChartRequest', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::AddChartRequest'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringAddChartRequest', | ||
| 272 | as HashRef[AddChartRequest()]; | ||
| 273 | |||
| 274 | declare 'AddChartResponse', | ||
| 275 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::AddChartResponse']; | ||
| 276 | |||
| 277 | coerce 'AddChartResponse', | ||
| 278 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::AddChartResponse'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedAddChartResponse', | ||
| 281 | as ArrayRef[AddChartResponse()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedAddChartResponse', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::AddChartResponse'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringAddChartResponse', | ||
| 287 | as HashRef[AddChartResponse()]; | ||
| 288 | |||
| 289 | declare 'EditChartRequest', | ||
| 290 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::EditChartRequest']; | ||
| 291 | |||
| 292 | coerce 'EditChartRequest', | ||
| 293 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::EditChartRequest'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedEditChartRequest', | ||
| 296 | as ArrayRef[EditChartRequest()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedEditChartRequest', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::EditChartRequest'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringEditChartRequest', | ||
| 302 | as HashRef[EditChartRequest()]; | ||
| 303 | |||
| 304 | declare 'EditChartResponse', | ||
| 305 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::EditChartResponse']; | ||
| 306 | |||
| 307 | coerce 'EditChartResponse', | ||
| 308 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::EditChartResponse'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedEditChartResponse', | ||
| 311 | as ArrayRef[EditChartResponse()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedEditChartResponse', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::EditChartResponse'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringEditChartResponse', | ||
| 317 | as HashRef[EditChartResponse()]; | ||
| 318 | |||
| 319 | declare 'RemoveChartRequest', | ||
| 320 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::RemoveChartRequest']; | ||
| 321 | |||
| 322 | coerce 'RemoveChartRequest', | ||
| 323 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::RemoveChartRequest'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedRemoveChartRequest', | ||
| 326 | as ArrayRef[RemoveChartRequest()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedRemoveChartRequest', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::RemoveChartRequest'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringRemoveChartRequest', | ||
| 332 | as HashRef[RemoveChartRequest()]; | ||
| 333 | |||
| 334 | declare 'DuplicateChartRequest', | ||
| 335 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateChartRequest']; | ||
| 336 | |||
| 337 | coerce 'DuplicateChartRequest', | ||
| 338 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateChartRequest'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedDuplicateChartRequest', | ||
| 341 | as ArrayRef[DuplicateChartRequest()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedDuplicateChartRequest', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateChartRequest'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringDuplicateChartRequest', | ||
| 347 | as HashRef[DuplicateChartRequest()]; | ||
| 348 | |||
| 349 | declare 'DuplicateChartResponse', | ||
| 350 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateChartResponse']; | ||
| 351 | |||
| 352 | coerce 'DuplicateChartResponse', | ||
| 353 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateChartResponse'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedDuplicateChartResponse', | ||
| 356 | as ArrayRef[DuplicateChartResponse()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedDuplicateChartResponse', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DuplicateChartResponse'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringDuplicateChartResponse', | ||
| 362 | as HashRef[DuplicateChartResponse()]; | ||
| 363 | |||
| 364 | declare 'DashboardUserData', | ||
| 365 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DashboardUserData']; | ||
| 366 | |||
| 367 | coerce 'DashboardUserData', | ||
| 368 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardUserData'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedDashboardUserData', | ||
| 371 | as ArrayRef[DashboardUserData()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedDashboardUserData', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardUserData'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringDashboardUserData', | ||
| 377 | as HashRef[DashboardUserData()]; | ||
| 378 | |||
| 379 | declare 'DashboardDefinition', | ||
| 380 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition']; | ||
| 381 | |||
| 382 | coerce 'DashboardDefinition', | ||
| 383 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedDashboardDefinition', | ||
| 386 | as ArrayRef[DashboardDefinition()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedDashboardDefinition', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringDashboardDefinition', | ||
| 392 | as HashRef[DashboardDefinition()]; | ||
| 393 | |||
| 394 | declare 'ChartConfig', | ||
| 395 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition::ChartConfig']; | ||
| 396 | |||
| 397 | coerce 'ChartConfig', | ||
| 398 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition::ChartConfig'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedChartConfig', | ||
| 401 | as ArrayRef[ChartConfig()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedChartConfig', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition::ChartConfig'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringChartConfig', | ||
| 407 | as HashRef[ChartConfig()]; | ||
| 408 | |||
| 409 | declare 'ChartLayout', | ||
| 410 | as InstanceOf['Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition::ChartConfig::ChartLayout']; | ||
| 411 | |||
| 412 | coerce 'ChartLayout', | ||
| 413 | from HashRef, via { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition::ChartConfig::ChartLayout'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedChartLayout', | ||
| 416 | as ArrayRef[ChartLayout()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedChartLayout', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::NativeDashboard::DashboardDefinition::ChartConfig::ChartLayout'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringChartLayout', | ||
| 422 | as HashRef[ChartLayout()]; | ||
| 423 | |||
| 424 | 1; | ||
| 425 | |||
| 426 | __END__ |