| 1 | package Google::Cloud::Dialogflow::Cx::V3::Page::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 'Page', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::Page']; | ||
| 12 | |||
| 13 | coerce 'Page', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::Page'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedPage', | ||
| 17 | as ArrayRef[Page()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedPage', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::Page'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringPage', | ||
| 23 | as HashRef[Page()]; | ||
| 24 | |||
| 25 | declare 'Form', | ||
| 26 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::Form']; | ||
| 27 | |||
| 28 | coerce 'Form', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::Form'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedForm', | ||
| 32 | as ArrayRef[Form()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedForm', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::Form'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringForm', | ||
| 38 | as HashRef[Form()]; | ||
| 39 | |||
| 40 | declare 'Parameter', | ||
| 41 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::Form::Parameter']; | ||
| 42 | |||
| 43 | coerce 'Parameter', | ||
| 44 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::Form::Parameter'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedParameter', | ||
| 47 | as ArrayRef[Parameter()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedParameter', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::Form::Parameter'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringParameter', | ||
| 53 | as HashRef[Parameter()]; | ||
| 54 | |||
| 55 | declare 'FillBehavior', | ||
| 56 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::Form::Parameter::FillBehavior']; | ||
| 57 | |||
| 58 | coerce 'FillBehavior', | ||
| 59 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::Form::Parameter::FillBehavior'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedFillBehavior', | ||
| 62 | as ArrayRef[FillBehavior()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedFillBehavior', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::Form::Parameter::FillBehavior'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringFillBehavior', | ||
| 68 | as HashRef[FillBehavior()]; | ||
| 69 | |||
| 70 | declare 'EventHandler', | ||
| 71 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::EventHandler']; | ||
| 72 | |||
| 73 | coerce 'EventHandler', | ||
| 74 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::EventHandler'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedEventHandler', | ||
| 77 | as ArrayRef[EventHandler()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedEventHandler', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::EventHandler'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringEventHandler', | ||
| 83 | as HashRef[EventHandler()]; | ||
| 84 | |||
| 85 | declare 'TransitionRoute', | ||
| 86 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::TransitionRoute']; | ||
| 87 | |||
| 88 | coerce 'TransitionRoute', | ||
| 89 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::TransitionRoute'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedTransitionRoute', | ||
| 92 | as ArrayRef[TransitionRoute()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedTransitionRoute', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::TransitionRoute'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringTransitionRoute', | ||
| 98 | as HashRef[TransitionRoute()]; | ||
| 99 | |||
| 100 | declare 'ListPagesRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::ListPagesRequest']; | ||
| 102 | |||
| 103 | coerce 'ListPagesRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::ListPagesRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListPagesRequest', | ||
| 107 | as ArrayRef[ListPagesRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListPagesRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::ListPagesRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListPagesRequest', | ||
| 113 | as HashRef[ListPagesRequest()]; | ||
| 114 | |||
| 115 | declare 'ListPagesResponse', | ||
| 116 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::ListPagesResponse']; | ||
| 117 | |||
| 118 | coerce 'ListPagesResponse', | ||
| 119 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::ListPagesResponse'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedListPagesResponse', | ||
| 122 | as ArrayRef[ListPagesResponse()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedListPagesResponse', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::ListPagesResponse'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringListPagesResponse', | ||
| 128 | as HashRef[ListPagesResponse()]; | ||
| 129 | |||
| 130 | declare 'GetPageRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::GetPageRequest']; | ||
| 132 | |||
| 133 | coerce 'GetPageRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::GetPageRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedGetPageRequest', | ||
| 137 | as ArrayRef[GetPageRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedGetPageRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::GetPageRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringGetPageRequest', | ||
| 143 | as HashRef[GetPageRequest()]; | ||
| 144 | |||
| 145 | declare 'CreatePageRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::CreatePageRequest']; | ||
| 147 | |||
| 148 | coerce 'CreatePageRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::CreatePageRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedCreatePageRequest', | ||
| 152 | as ArrayRef[CreatePageRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedCreatePageRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::CreatePageRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringCreatePageRequest', | ||
| 158 | as HashRef[CreatePageRequest()]; | ||
| 159 | |||
| 160 | declare 'UpdatePageRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::UpdatePageRequest']; | ||
| 162 | |||
| 163 | coerce 'UpdatePageRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::UpdatePageRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedUpdatePageRequest', | ||
| 167 | as ArrayRef[UpdatePageRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedUpdatePageRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::UpdatePageRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringUpdatePageRequest', | ||
| 173 | as HashRef[UpdatePageRequest()]; | ||
| 174 | |||
| 175 | declare 'DeletePageRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::DeletePageRequest']; | ||
| 177 | |||
| 178 | coerce 'DeletePageRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::DeletePageRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedDeletePageRequest', | ||
| 182 | as ArrayRef[DeletePageRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedDeletePageRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::DeletePageRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringDeletePageRequest', | ||
| 188 | as HashRef[DeletePageRequest()]; | ||
| 189 | |||
| 190 | declare 'KnowledgeConnectorSettings', | ||
| 191 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::Page::KnowledgeConnectorSettings']; | ||
| 192 | |||
| 193 | coerce 'KnowledgeConnectorSettings', | ||
| 194 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::Page::KnowledgeConnectorSettings'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedKnowledgeConnectorSettings', | ||
| 197 | as ArrayRef[KnowledgeConnectorSettings()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedKnowledgeConnectorSettings', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::Page::KnowledgeConnectorSettings'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringKnowledgeConnectorSettings', | ||
| 203 | as HashRef[KnowledgeConnectorSettings()]; | ||
| 204 | |||
| 205 | 1; | ||
| 206 | |||
| 207 | __END__ |