| 1 | package Google::Cloud::Oracledatabase::V1::FlexComponent::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 'FlexComponent', | ||
| 11 | as InstanceOf['Google::Cloud::Oracledatabase::V1::FlexComponent::FlexComponent']; | ||
| 12 | |||
| 13 | coerce 'FlexComponent', | ||
| 14 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::FlexComponent::FlexComponent'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedFlexComponent', | ||
| 17 | as ArrayRef[FlexComponent()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedFlexComponent', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::FlexComponent::FlexComponent'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringFlexComponent', | ||
| 23 | as HashRef[FlexComponent()]; | ||
| 24 | |||
| 25 | declare 'FlexComponentProperties', | ||
| 26 | as InstanceOf['Google::Cloud::Oracledatabase::V1::FlexComponent::FlexComponentProperties']; | ||
| 27 | |||
| 28 | coerce 'FlexComponentProperties', | ||
| 29 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::FlexComponent::FlexComponentProperties'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedFlexComponentProperties', | ||
| 32 | as ArrayRef[FlexComponentProperties()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedFlexComponentProperties', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::FlexComponent::FlexComponentProperties'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringFlexComponentProperties', | ||
| 38 | as HashRef[FlexComponentProperties()]; | ||
| 39 | |||
| 40 | declare 'HardwareType', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'ListFlexComponentsRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Oracledatabase::V1::FlexComponent::ListFlexComponentsRequest']; | ||
| 45 | |||
| 46 | coerce 'ListFlexComponentsRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::FlexComponent::ListFlexComponentsRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListFlexComponentsRequest', | ||
| 50 | as ArrayRef[ListFlexComponentsRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListFlexComponentsRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::FlexComponent::ListFlexComponentsRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListFlexComponentsRequest', | ||
| 56 | as HashRef[ListFlexComponentsRequest()]; | ||
| 57 | |||
| 58 | declare 'ListFlexComponentsResponse', | ||
| 59 | as InstanceOf['Google::Cloud::Oracledatabase::V1::FlexComponent::ListFlexComponentsResponse']; | ||
| 60 | |||
| 61 | coerce 'ListFlexComponentsResponse', | ||
| 62 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::FlexComponent::ListFlexComponentsResponse'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedListFlexComponentsResponse', | ||
| 65 | as ArrayRef[ListFlexComponentsResponse()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedListFlexComponentsResponse', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::FlexComponent::ListFlexComponentsResponse'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringListFlexComponentsResponse', | ||
| 71 | as HashRef[ListFlexComponentsResponse()]; | ||
| 72 | |||
| 73 | 1; | ||
| 74 | |||
| 75 | __END__ |