diff --git a/Makefile b/Makefile index 92bb222..fbb6c33 100644 --- a/Makefile +++ b/Makefile @@ -9,11 +9,11 @@ cleanup: generate: cleanup @echo "Generating types..." - oapi-codegen -generate types -o ./pkg/client/types.go -package client ${golang_spec} + go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen -generate types -o ./pkg/client/types.go -package client ${golang_spec} @echo "Generating client..." - oapi-codegen -generate client -o ./pkg/client/client.go -package client ${golang_spec} + go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen -generate client -o ./pkg/client/client.go -package client ${golang_spec} convert: @echo "Converting spec..." cd tools/oapifixer && go build - ./tools/oapifixer/oapifixer -input ${vbr_spec} -output ${golang_spec} \ No newline at end of file + ./tools/oapifixer/oapifixer -input ${vbr_spec} -output ${golang_spec} diff --git a/build_tools.go b/build_tools.go new file mode 100644 index 0000000..5dd6607 --- /dev/null +++ b/build_tools.go @@ -0,0 +1,15 @@ +//go:build build_tools + +// While it's typically not valid to import a "main" package, it's being done +// here in a file that's never compiled (note the "build_tools" build tag above) +// in order to prevent `go mod tidy` from removing the module from the go.mod +// and go.sum files. +// +// This is to ensure that when the Makefile generates the client, the generator +// used is from the version of the module that is referenced by go.mod. + +package main + +import ( + _ "github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen" +) diff --git a/go.mod b/go.mod index b9f1536..a609ad1 100644 --- a/go.mod +++ b/go.mod @@ -3,47 +3,29 @@ module github.com/veeamhub/veeam-vbr-sdk-go/v2 go 1.20 require ( - github.com/deepmap/oapi-codegen v1.13.0 - github.com/labstack/gommon v0.4.0 + github.com/deepmap/oapi-codegen/v2 v2.0.0 + github.com/oapi-codegen/runtime v1.1.0 github.com/pb33f/libopenapi v0.9.1 ) require ( github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect - github.com/bytedance/sonic v1.9.1 // indirect - github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect - github.com/gabriel-vasile/mimetype v1.4.2 // indirect - github.com/gin-contrib/sse v0.1.0 // indirect - github.com/gin-gonic/gin v1.9.1 // indirect - github.com/go-playground/locales v0.14.1 // indirect - github.com/go-playground/universal-translator v0.18.1 // indirect - github.com/go-playground/validator/v10 v10.14.0 // indirect - github.com/goccy/go-json v0.10.2 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/cpuid/v2 v2.2.4 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/labstack/echo/v4 v4.10.2 // indirect - github.com/leodido/go-urn v1.2.4 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect - github.com/pelletier/go-toml/v2 v2.0.8 // indirect - github.com/twitchyliquid64/golang-asm v0.15.1 // indirect - github.com/ugorji/go/codec v1.2.11 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasttemplate v1.2.2 // indirect + github.com/getkin/kin-openapi v0.118.0 // indirect + github.com/go-openapi/jsonpointer v0.19.5 // indirect + github.com/go-openapi/swag v0.21.1 // indirect + github.com/google/uuid v1.4.0 // indirect + github.com/invopop/yaml v0.1.0 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/mailru/easyjson v0.7.7 // indirect + github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect + github.com/perimeterx/marshmallow v1.1.4 // indirect github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect - golang.org/x/arch v0.3.0 // indirect - golang.org/x/crypto v0.9.0 // indirect - golang.org/x/net v0.10.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect - google.golang.org/protobuf v1.30.0 // indirect - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect + golang.org/x/mod v0.12.0 // indirect + golang.org/x/sync v0.3.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect + golang.org/x/tools v0.12.0 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index e8961d7..540b104 100644 --- a/go.sum +++ b/go.sum @@ -2,12 +2,6 @@ github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMz github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ= github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk= github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w= -github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= -github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s= -github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= -github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= -github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= -github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -15,30 +9,24 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/deepmap/oapi-codegen v1.13.0 h1:cnFHelhsRQbYvanCUAbRSn/ZpkUb1HPRlQcu8YqSORQ= -github.com/deepmap/oapi-codegen v1.13.0/go.mod h1:Amy7tbubKY9qkZOXqymI3Z6xSbndmu+atMJheLdyg44= +github.com/deepmap/oapi-codegen/v2 v2.0.0 h1:3TS7w3r+XnjKFXcbFbc16pTWzfTy0OLPkCsutEHjWDA= +github.com/deepmap/oapi-codegen/v2 v2.0.0/go.mod h1:7zR+ZL3WzLeCkr2k8oWTxEa0v8y/F25ane0l6A5UjLA= github.com/dprotaso/go-yit v0.0.0-20191028211022-135eb7262960/go.mod h1:9HQzr9D/0PGwMEbC3d5AB7oi67+h4TsQqItC1GVYG58= github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 h1:PRxIJD8XjimM5aTknUK9w6DHLDox2r2M3DI4i2pnd3w= github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936/go.mod h1:ttYvX5qlB+mlV1okblJqcSMtR4c52UKxDiX9GRBS8+Q= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= -github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= -github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= -github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= -github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= -github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= -github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= -github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= -github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= -github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= -github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js= -github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= +github.com/getkin/kin-openapi v0.118.0 h1:z43njxPmJ7TaPpMSCQb7PN0dEYno4tyBPQcrFdHoLuM= +github.com/getkin/kin-openapi v0.118.0/go.mod h1:l5e9PaFUo9fyLJCPGQeXI2ML8c3P8BHOEV2VaAVf/pc= +github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.21.1 h1:wm0rhTb5z7qpJRHBdPOMuY4QjVUMbF6/kwoYeRAOrKU= +github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= -github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/go-test/deep v1.0.8 h1:TDsG77qcSprGbC6vTN8OuXp5g+J+b5Pcguhf7Zt61VM= +github.com/go-test/deep v1.0.8/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= @@ -51,48 +39,37 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/invopop/yaml v0.1.0 h1:YW3WGUoJEXYfzWBjn00zIlrw7brGVD0fUKRYDPAPhrc= +github.com/invopop/yaml v0.1.0/go.mod h1:2XuRLgs/ouIrW3XNzuNj7J3Nvu/Dig5MXvbCEdiBN3Q= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE= -github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk= -github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/labstack/echo/v4 v4.10.2 h1:n1jAhnq/elIFTHr1EYpiYtyKgx4RW9ccVgkqByZaN2M= -github.com/labstack/echo/v4 v4.10.2/go.mod h1:OEyqf2//K1DFdE57vw2DRgWY0M7s65IVQO2FzvI4J5k= -github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= -github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= -github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= +github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oapi-codegen/runtime v1.1.0 h1:rJpoNUawn5XTvekgfkvSZr0RqEnoYpFkyvrzfWeFKWM= +github.com/oapi-codegen/runtime v1.1.0/go.mod h1:BeSfBkWWWnAnGdyS+S/GnlbmHKzf8/hwkvelJZDeKA8= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.2/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= @@ -107,8 +84,8 @@ github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/pb33f/libopenapi v0.9.1 h1:baBPONdZsqEBGlUoAeuqdPP4gYXrnHAYz7UW+aBn6O0= github.com/pb33f/libopenapi v0.9.1/go.mod h1:lvUmCtjgHUGVj6WzN3I5/CS9wkXtyN3Ykjh6ZZP5lrI= -github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= -github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/perimeterx/marshmallow v1.1.4 h1:pZLDH9RjlLGGorbXhcaQLhfuV0pFMNfPO55FuFkxqLw= +github.com/perimeterx/marshmallow v1.1.4/go.mod h1:dsXbUu8CRzfYP5a87xpp0xq9S3u0Vchtcl8we9tYaXw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= @@ -120,34 +97,25 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= -github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo= +github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= +github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= -github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= -github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/vmware-labs/yaml-jsonpath v0.3.2 h1:/5QKeCBGdsInyDCyVNLbXyilb61MXGi9NP674f9Hobk= github.com/vmware-labs/yaml-jsonpath v0.3.2/go.mod h1:U6whw1z03QyqgWdgXxvVnQ90zN1BWz5V+51Ewf8k+rQ= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= -golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= -golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -155,13 +123,12 @@ golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -175,31 +142,26 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= +golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f h1:GGU+dLjvlC3qDwqYgL6UgRmHXhOOgns0bZu2Ty5mm6U= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -208,12 +170,11 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b h1:QRR6H1YWRnHb4Y/HeNFCTJLFVxaq6wH4YuVdsUOr75U= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= @@ -225,7 +186,7 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20191026110619-0b21df46bc1d/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/pkg/client/client.go b/pkg/client/client.go index cc81d6f..9660096 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -1,6 +1,6 @@ // Package client provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT. +// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT. package client import ( @@ -13,8 +13,8 @@ import ( "net/url" "strings" - "github.com/deepmap/oapi-codegen/pkg/runtime" - openapi_types "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime" + openapi_types "github.com/oapi-codegen/runtime/types" ) // RequestEditorFn is the function signature for the RequestEditor callback function @@ -96,7 +96,7 @@ type ClientInterface interface { // Logout request Logout(ctx context.Context, params *LogoutParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateToken request with any body + // CreateTokenWithBody request with any body CreateTokenWithBody(ctx context.Context, params *CreateTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateTokenWithFormdataBody(ctx context.Context, params *CreateTokenParams, body CreateTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -104,7 +104,7 @@ type ClientInterface interface { // GetAllComputerRecoveryTokens request GetAllComputerRecoveryTokens(ctx context.Context, params *GetAllComputerRecoveryTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateComputerRecoveryToken request with any body + // CreateComputerRecoveryTokenWithBody request with any body CreateComputerRecoveryTokenWithBody(ctx context.Context, params *CreateComputerRecoveryTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateComputerRecoveryToken(ctx context.Context, params *CreateComputerRecoveryTokenParams, body CreateComputerRecoveryTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -115,77 +115,77 @@ type ClientInterface interface { // GetComputerRecoveryToken request GetComputerRecoveryToken(ctx context.Context, id openapi_types.UUID, params *GetComputerRecoveryTokenParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateComputerRecoveryToken request with any body + // UpdateComputerRecoveryTokenWithBody request with any body UpdateComputerRecoveryTokenWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateComputerRecoveryTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateComputerRecoveryToken(ctx context.Context, id openapi_types.UUID, params *UpdateComputerRecoveryTokenParams, body UpdateComputerRecoveryTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportCloudCredentials request with any body + // ExportCloudCredentialsWithBody request with any body ExportCloudCredentialsWithBody(ctx context.Context, params *ExportCloudCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportCloudCredentials(ctx context.Context, params *ExportCloudCredentialsParams, body ExportCloudCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportCloudCredentials request with any body + // ImportCloudCredentialsWithBody request with any body ImportCloudCredentialsWithBody(ctx context.Context, params *ImportCloudCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportCloudCredentials(ctx context.Context, params *ImportCloudCredentialsParams, body ImportCloudCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportCredentials request with any body + // ExportCredentialsWithBody request with any body ExportCredentialsWithBody(ctx context.Context, params *ExportCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportCredentials(ctx context.Context, params *ExportCredentialsParams, body ExportCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportCredentials request with any body + // ImportCredentialsWithBody request with any body ImportCredentialsWithBody(ctx context.Context, params *ImportCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportCredentials(ctx context.Context, params *ImportCredentialsParams, body ImportCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportEncryptionPasswords request with any body + // ExportEncryptionPasswordsWithBody request with any body ExportEncryptionPasswordsWithBody(ctx context.Context, params *ExportEncryptionPasswordsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportEncryptionPasswords(ctx context.Context, params *ExportEncryptionPasswordsParams, body ExportEncryptionPasswordsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportEncryptionPasswords request with any body + // ImportEncryptionPasswordsWithBody request with any body ImportEncryptionPasswordsWithBody(ctx context.Context, params *ImportEncryptionPasswordsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportEncryptionPasswords(ctx context.Context, params *ImportEncryptionPasswordsParams, body ImportEncryptionPasswordsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportJobs request with any body + // ExportJobsWithBody request with any body ExportJobsWithBody(ctx context.Context, params *ExportJobsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportJobs(ctx context.Context, params *ExportJobsParams, body ExportJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportJobs request with any body + // ImportJobsWithBody request with any body ImportJobsWithBody(ctx context.Context, params *ImportJobsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportJobs(ctx context.Context, params *ImportJobsParams, body ImportJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportManagedServers request with any body + // ExportManagedServersWithBody request with any body ExportManagedServersWithBody(ctx context.Context, params *ExportManagedServersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportManagedServers(ctx context.Context, params *ExportManagedServersParams, body ExportManagedServersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportManagedServers request with any body + // ImportManagedServersWithBody request with any body ImportManagedServersWithBody(ctx context.Context, params *ImportManagedServersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportManagedServers(ctx context.Context, params *ImportManagedServersParams, body ImportManagedServersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportProxies request with any body + // ExportProxiesWithBody request with any body ExportProxiesWithBody(ctx context.Context, params *ExportProxiesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportProxies(ctx context.Context, params *ExportProxiesParams, body ExportProxiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportProxies request with any body + // ImportProxiesWithBody request with any body ImportProxiesWithBody(ctx context.Context, params *ImportProxiesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportProxies(ctx context.Context, params *ImportProxiesParams, body ImportProxiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExportRepositories request with any body + // ExportRepositoriesWithBody request with any body ExportRepositoriesWithBody(ctx context.Context, params *ExportRepositoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExportRepositories(ctx context.Context, params *ExportRepositoriesParams, body ExportRepositoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ImportRepositories request with any body + // ImportRepositoriesWithBody request with any body ImportRepositoriesWithBody(ctx context.Context, params *ImportRepositoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ImportRepositories(ctx context.Context, params *ImportRepositoriesParams, body ImportRepositoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -205,7 +205,7 @@ type ClientInterface interface { // GetAllManagedServers request GetAllManagedServers(ctx context.Context, params *GetAllManagedServersParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateManagedServer request with any body + // CreateManagedServerWithBody request with any body CreateManagedServerWithBody(ctx context.Context, params *CreateManagedServerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateManagedServer(ctx context.Context, params *CreateManagedServerParams, body CreateManagedServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -216,12 +216,12 @@ type ClientInterface interface { // GetManagedServer request GetManagedServer(ctx context.Context, id openapi_types.UUID, params *GetManagedServerParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateManagedServer request with any body + // UpdateManagedServerWithBody request with any body UpdateManagedServerWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateManagedServerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateManagedServer(ctx context.Context, id openapi_types.UUID, params *UpdateManagedServerParams, body UpdateManagedServerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateSingleUseCredentials request with any body + // UpdateSingleUseCredentialsWithBody request with any body UpdateSingleUseCredentialsWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateSingleUseCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateSingleUseCredentials(ctx context.Context, id openapi_types.UUID, params *UpdateSingleUseCredentialsParams, body UpdateSingleUseCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -229,7 +229,7 @@ type ClientInterface interface { // GetAllProxies request GetAllProxies(ctx context.Context, params *GetAllProxiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateProxy request with any body + // CreateProxyWithBody request with any body CreateProxyWithBody(ctx context.Context, params *CreateProxyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateProxy(ctx context.Context, params *CreateProxyParams, body CreateProxyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -240,7 +240,7 @@ type ClientInterface interface { // GetProxy request GetProxy(ctx context.Context, id openapi_types.UUID, params *GetProxyParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateProxy request with any body + // UpdateProxyWithBody request with any body UpdateProxyWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateProxyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateProxy(ctx context.Context, id openapi_types.UUID, params *UpdateProxyParams, body UpdateProxyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -248,7 +248,7 @@ type ClientInterface interface { // GetAllRepositories request GetAllRepositories(ctx context.Context, params *GetAllRepositoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateRepository request with any body + // CreateRepositoryWithBody request with any body CreateRepositoryWithBody(ctx context.Context, params *CreateRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateRepository(ctx context.Context, params *CreateRepositoryParams, body CreateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -262,7 +262,7 @@ type ClientInterface interface { // GetRepository request GetRepository(ctx context.Context, id openapi_types.UUID, params *GetRepositoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateRepository request with any body + // UpdateRepositoryWithBody request with any body UpdateRepositoryWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateRepository(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryParams, body UpdateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -270,7 +270,7 @@ type ClientInterface interface { // GetRepositoryAccessPermissions request GetRepositoryAccessPermissions(ctx context.Context, id openapi_types.UUID, params *GetRepositoryAccessPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateRepositoryAccessPermissions request with any body + // UpdateRepositoryAccessPermissionsWithBody request with any body UpdateRepositoryAccessPermissionsWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryAccessPermissionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateRepositoryAccessPermissions(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryAccessPermissionsParams, body UpdateRepositoryAccessPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -278,7 +278,7 @@ type ClientInterface interface { // GetAllScaleOutRepositories request GetAllScaleOutRepositories(ctx context.Context, params *GetAllScaleOutRepositoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateScaleOutRepository request with any body + // CreateScaleOutRepositoryWithBody request with any body CreateScaleOutRepositoryWithBody(ctx context.Context, params *CreateScaleOutRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateScaleOutRepository(ctx context.Context, params *CreateScaleOutRepositoryParams, body CreateScaleOutRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -289,7 +289,7 @@ type ClientInterface interface { // GetScaleOutRepository request GetScaleOutRepository(ctx context.Context, id openapi_types.UUID, params *GetScaleOutRepositoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateScaleOutRepository request with any body + // UpdateScaleOutRepositoryWithBody request with any body UpdateScaleOutRepositoryWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateScaleOutRepository(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryParams, body UpdateScaleOutRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -297,32 +297,32 @@ type ClientInterface interface { // GetScaleOutRepositoryAccessPermissions request GetScaleOutRepositoryAccessPermissions(ctx context.Context, id openapi_types.UUID, params *GetScaleOutRepositoryAccessPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateScaleOutRepositoryAccessPermissions request with any body + // UpdateScaleOutRepositoryAccessPermissionsWithBody request with any body UpdateScaleOutRepositoryAccessPermissionsWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryAccessPermissionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateScaleOutRepositoryAccessPermissions(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryAccessPermissionsParams, body UpdateScaleOutRepositoryAccessPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DisableScaleOutExtentMaintenanceMode request with any body + // DisableScaleOutExtentMaintenanceModeWithBody request with any body DisableScaleOutExtentMaintenanceModeWithBody(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentMaintenanceModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DisableScaleOutExtentMaintenanceMode(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentMaintenanceModeParams, body DisableScaleOutExtentMaintenanceModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DisableScaleOutExtentSealedMode request with any body + // DisableScaleOutExtentSealedModeWithBody request with any body DisableScaleOutExtentSealedModeWithBody(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentSealedModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DisableScaleOutExtentSealedMode(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentSealedModeParams, body DisableScaleOutExtentSealedModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // EnableScaleOutExtentMaintenanceMode request with any body + // EnableScaleOutExtentMaintenanceModeWithBody request with any body EnableScaleOutExtentMaintenanceModeWithBody(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentMaintenanceModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EnableScaleOutExtentMaintenanceMode(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentMaintenanceModeParams, body EnableScaleOutExtentMaintenanceModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // EnableScaleOutExtentSealedMode request with any body + // EnableScaleOutExtentSealedModeWithBody request with any body EnableScaleOutExtentSealedModeWithBody(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentSealedModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EnableScaleOutExtentSealedMode(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentSealedModeParams, body EnableScaleOutExtentSealedModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // EvacuateBackupsFromScaleOutExtent request with any body + // EvacuateBackupsFromScaleOutExtentWithBody request with any body EvacuateBackupsFromScaleOutExtentWithBody(ctx context.Context, id openapi_types.UUID, params *EvacuateBackupsFromScaleOutExtentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EvacuateBackupsFromScaleOutExtent(ctx context.Context, id openapi_types.UUID, params *EvacuateBackupsFromScaleOutExtentParams, body EvacuateBackupsFromScaleOutExtentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -345,12 +345,12 @@ type ClientInterface interface { // GetBackupObjects request GetBackupObjects(ctx context.Context, id openapi_types.UUID, params *GetBackupObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // BrowseCloudEntity request with any body + // BrowseCloudEntityWithBody request with any body BrowseCloudEntityWithBody(ctx context.Context, params *BrowseCloudEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) BrowseCloudEntity(ctx context.Context, params *BrowseCloudEntityParams, body BrowseCloudEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateNewCloudFolder request with any body + // CreateNewCloudFolderWithBody request with any body CreateNewCloudFolderWithBody(ctx context.Context, params *CreateNewCloudFolderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateNewCloudFolder(ctx context.Context, params *CreateNewCloudFolderParams, body CreateNewCloudFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -358,12 +358,12 @@ type ClientInterface interface { // GetAllCloudCreds request GetAllCloudCreds(ctx context.Context, params *GetAllCloudCredsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateCloudCreds request with any body + // CreateCloudCredsWithBody request with any body CreateCloudCredsWithBody(ctx context.Context, params *CreateCloudCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateCloudCreds(ctx context.Context, params *CreateCloudCredsParams, body CreateCloudCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // RequestAppRegistrationByDeviceCode request with any body + // RequestAppRegistrationByDeviceCodeWithBody request with any body RequestAppRegistrationByDeviceCodeWithBody(ctx context.Context, params *RequestAppRegistrationByDeviceCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RequestAppRegistrationByDeviceCode(ctx context.Context, params *RequestAppRegistrationByDeviceCodeParams, body RequestAppRegistrationByDeviceCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -377,17 +377,17 @@ type ClientInterface interface { // GetCloudCreds request GetCloudCreds(ctx context.Context, id openapi_types.UUID, params *GetCloudCredsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateCloudCreds request with any body + // UpdateCloudCredsWithBody request with any body UpdateCloudCredsWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateCloudCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateCloudCreds(ctx context.Context, id openapi_types.UUID, params *UpdateCloudCredsParams, body UpdateCloudCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ChangeCloudCertificate request with any body + // ChangeCloudCertificateWithBody request with any body ChangeCloudCertificateWithBody(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ChangeCloudCertificate(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCertificateParams, body ChangeCloudCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ChangeCloudCredsSecretKey request with any body + // ChangeCloudCredsSecretKeyWithBody request with any body ChangeCloudCredsSecretKeyWithBody(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCredsSecretKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ChangeCloudCredsSecretKey(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCredsSecretKeyParams, body ChangeCloudCredsSecretKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -395,7 +395,7 @@ type ClientInterface interface { // GetAllCredsHelperAppliances request GetAllCredsHelperAppliances(ctx context.Context, id openapi_types.UUID, params *GetAllCredsHelperAppliancesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateCloudCredsHelperAppliance request with any body + // CreateCloudCredsHelperApplianceWithBody request with any body CreateCloudCredsHelperApplianceWithBody(ctx context.Context, id openapi_types.UUID, params *CreateCloudCredsHelperApplianceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateCloudCredsHelperAppliance(ctx context.Context, id openapi_types.UUID, params *CreateCloudCredsHelperApplianceParams, body CreateCloudCredsHelperApplianceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -409,7 +409,7 @@ type ClientInterface interface { // GetConfigBackupOptions request GetConfigBackupOptions(ctx context.Context, params *GetConfigBackupOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateConfigBackupOptions request with any body + // UpdateConfigBackupOptionsWithBody request with any body UpdateConfigBackupOptionsWithBody(ctx context.Context, params *UpdateConfigBackupOptionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateConfigBackupOptions(ctx context.Context, params *UpdateConfigBackupOptionsParams, body UpdateConfigBackupOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -417,7 +417,7 @@ type ClientInterface interface { // StartConfigBackup request StartConfigBackup(ctx context.Context, params *StartConfigBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetConnectionCertificate request with any body + // GetConnectionCertificateWithBody request with any body GetConnectionCertificateWithBody(ctx context.Context, params *GetConnectionCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetConnectionCertificate(ctx context.Context, params *GetConnectionCertificateParams, body GetConnectionCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -425,7 +425,7 @@ type ClientInterface interface { // GetAllCreds request GetAllCreds(ctx context.Context, params *GetAllCredsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateCreds request with any body + // CreateCredsWithBody request with any body CreateCredsWithBody(ctx context.Context, params *CreateCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateCreds(ctx context.Context, params *CreateCredsParams, body CreateCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -436,22 +436,22 @@ type ClientInterface interface { // GetCreds request GetCreds(ctx context.Context, id openapi_types.UUID, params *GetCredsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateCreds request with any body + // UpdateCredsWithBody request with any body UpdateCredsWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateCreds(ctx context.Context, id openapi_types.UUID, params *UpdateCredsParams, body UpdateCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ChangePasswordForCreds request with any body + // ChangePasswordForCredsWithBody request with any body ChangePasswordForCredsWithBody(ctx context.Context, id openapi_types.UUID, params *ChangePasswordForCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ChangePasswordForCreds(ctx context.Context, id openapi_types.UUID, params *ChangePasswordForCredsParams, body ChangePasswordForCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ChangePrivateKeyForCreds request with any body + // ChangePrivateKeyForCredsWithBody request with any body ChangePrivateKeyForCredsWithBody(ctx context.Context, id openapi_types.UUID, params *ChangePrivateKeyForCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ChangePrivateKeyForCreds(ctx context.Context, id openapi_types.UUID, params *ChangePrivateKeyForCredsParams, body ChangePrivateKeyForCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ChangeRootPasswordForCreds request with any body + // ChangeRootPasswordForCredsWithBody request with any body ChangeRootPasswordForCredsWithBody(ctx context.Context, id openapi_types.UUID, params *ChangeRootPasswordForCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ChangeRootPasswordForCreds(ctx context.Context, id openapi_types.UUID, params *ChangeRootPasswordForCredsParams, body ChangeRootPasswordForCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -459,7 +459,7 @@ type ClientInterface interface { // GetAllEncryptionPasswords request GetAllEncryptionPasswords(ctx context.Context, params *GetAllEncryptionPasswordsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateEncryptionPassword request with any body + // CreateEncryptionPasswordWithBody request with any body CreateEncryptionPasswordWithBody(ctx context.Context, params *CreateEncryptionPasswordParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateEncryptionPassword(ctx context.Context, params *CreateEncryptionPasswordParams, body CreateEncryptionPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -470,7 +470,7 @@ type ClientInterface interface { // GetEncryptionPassword request GetEncryptionPassword(ctx context.Context, id openapi_types.UUID, params *GetEncryptionPasswordParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateEncryptionPassword request with any body + // UpdateEncryptionPasswordWithBody request with any body UpdateEncryptionPasswordWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateEncryptionPasswordParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateEncryptionPassword(ctx context.Context, id openapi_types.UUID, params *UpdateEncryptionPasswordParams, body UpdateEncryptionPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -478,7 +478,7 @@ type ClientInterface interface { // GetGeneralOptions request GetGeneralOptions(ctx context.Context, params *GetGeneralOptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateGeneralOptions request with any body + // UpdateGeneralOptionsWithBody request with any body UpdateGeneralOptionsWithBody(ctx context.Context, params *UpdateGeneralOptionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateGeneralOptions(ctx context.Context, params *UpdateGeneralOptionsParams, body UpdateGeneralOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -492,7 +492,7 @@ type ClientInterface interface { // GetAllJobs request GetAllJobs(ctx context.Context, params *GetAllJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // CreateJob request with any body + // CreateJobWithBody request with any body CreateJobWithBody(ctx context.Context, params *CreateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateJob(ctx context.Context, params *CreateJobParams, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -506,7 +506,7 @@ type ClientInterface interface { // GetJob request GetJob(ctx context.Context, id openapi_types.UUID, params *GetJobParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateJob request with any body + // UpdateJobWithBody request with any body UpdateJobWithBody(ctx context.Context, id openapi_types.UUID, params *UpdateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateJob(ctx context.Context, id openapi_types.UUID, params *UpdateJobParams, body UpdateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -517,12 +517,12 @@ type ClientInterface interface { // EnableJob request EnableJob(ctx context.Context, id openapi_types.UUID, params *EnableJobParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // StartJob request with any body + // StartJobWithBody request with any body StartJobWithBody(ctx context.Context, id openapi_types.UUID, params *StartJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) StartJob(ctx context.Context, id openapi_types.UUID, params *StartJobParams, body StartJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // StopJob request with any body + // StopJobWithBody request with any body StopJobWithBody(ctx context.Context, id openapi_types.UUID, params *StopJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) StopJob(ctx context.Context, id openapi_types.UUID, params *StopJobParams, body StopJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -539,7 +539,7 @@ type ClientInterface interface { // GetAllVmwareFcdInstantRecoveryMountModels request GetAllVmwareFcdInstantRecoveryMountModels(ctx context.Context, params *GetAllVmwareFcdInstantRecoveryMountModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // InstantRecoveryVmwareFcdMountWithSession request with any body + // InstantRecoveryVmwareFcdMountWithSessionWithBody request with any body InstantRecoveryVmwareFcdMountWithSessionWithBody(ctx context.Context, params *InstantRecoveryVmwareFcdMountWithSessionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstantRecoveryVmwareFcdMountWithSession(ctx context.Context, params *InstantRecoveryVmwareFcdMountWithSessionParams, body InstantRecoveryVmwareFcdMountWithSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -550,7 +550,7 @@ type ClientInterface interface { // InstantRecoveryVmwareFcdDismountWithSession request InstantRecoveryVmwareFcdDismountWithSession(ctx context.Context, mountId openapi_types.UUID, params *InstantRecoveryVmwareFcdDismountWithSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // InstantRecoveryVmwareFcdMigrateWithSession request with any body + // InstantRecoveryVmwareFcdMigrateWithSessionWithBody request with any body InstantRecoveryVmwareFcdMigrateWithSessionWithBody(ctx context.Context, mountId openapi_types.UUID, params *InstantRecoveryVmwareFcdMigrateWithSessionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstantRecoveryVmwareFcdMigrateWithSession(ctx context.Context, mountId openapi_types.UUID, params *InstantRecoveryVmwareFcdMigrateWithSessionParams, body InstantRecoveryVmwareFcdMigrateWithSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -558,7 +558,7 @@ type ClientInterface interface { // GetAllInstantViVMRecoveryMounts request GetAllInstantViVMRecoveryMounts(ctx context.Context, params *GetAllInstantViVMRecoveryMountsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // InstantViVMRecoveryMount request with any body + // InstantViVMRecoveryMountWithBody request with any body InstantViVMRecoveryMountWithBody(ctx context.Context, params *InstantViVMRecoveryMountParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstantViVMRecoveryMount(ctx context.Context, params *InstantViVMRecoveryMountParams, body InstantViVMRecoveryMountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -566,7 +566,7 @@ type ClientInterface interface { // GetInstantViVMRecoveryMount request GetInstantViVMRecoveryMount(ctx context.Context, mountId openapi_types.UUID, params *GetInstantViVMRecoveryMountParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // InstantViVMRecoveryMigrate request with any body + // InstantViVMRecoveryMigrateWithBody request with any body InstantViVMRecoveryMigrateWithBody(ctx context.Context, mountId openapi_types.UUID, params *InstantViVMRecoveryMigrateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) InstantViVMRecoveryMigrate(ctx context.Context, mountId openapi_types.UUID, params *InstantViVMRecoveryMigrateParams, body InstantViVMRecoveryMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -574,7 +574,7 @@ type ClientInterface interface { // InstantViVMRecoveryUnmount request InstantViVMRecoveryUnmount(ctx context.Context, mountId openapi_types.UUID, params *InstantViVMRecoveryUnmountParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // EntireVmRestoreVmware request with any body + // EntireVmRestoreVmwareWithBody request with any body EntireVmRestoreVmwareWithBody(ctx context.Context, params *EntireVmRestoreVmwareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EntireVmRestoreVmware(ctx context.Context, params *EntireVmRestoreVmwareParams, body EntireVmRestoreVmwareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -606,7 +606,7 @@ type ClientInterface interface { // GetAllTrafficRules request GetAllTrafficRules(ctx context.Context, params *GetAllTrafficRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // UpdateTrafficRules request with any body + // UpdateTrafficRulesWithBody request with any body UpdateTrafficRulesWithBody(ctx context.Context, params *UpdateTrafficRulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateTrafficRules(ctx context.Context, params *UpdateTrafficRulesParams, body UpdateTrafficRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2964,14 +2964,18 @@ func NewCreateAuthorizationCodeRequest(server string, params *CreateAuthorizatio return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3000,14 +3004,18 @@ func NewLogoutRequest(server string, params *LogoutParams) (*http.Request, error return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3049,14 +3057,18 @@ func NewCreateTokenRequestWithBody(server string, params *CreateTokenParams, con req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3171,14 +3183,18 @@ func NewGetAllComputerRecoveryTokensRequest(server string, params *GetAllCompute return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3220,14 +3236,18 @@ func NewCreateComputerRecoveryTokenRequestWithBody(server string, params *Create req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3263,14 +3283,18 @@ func NewDeleteComputerRecoveryTokenRequest(server string, id openapi_types.UUID, return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3306,14 +3330,18 @@ func NewGetComputerRecoveryTokenRequest(server string, id openapi_types.UUID, pa return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3362,14 +3390,18 @@ func NewUpdateComputerRecoveryTokenRequestWithBody(server string, id openapi_typ req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3411,14 +3443,18 @@ func NewExportCloudCredentialsRequestWithBody(server string, params *ExportCloud req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3460,14 +3496,18 @@ func NewImportCloudCredentialsRequestWithBody(server string, params *ImportCloud req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3509,14 +3549,18 @@ func NewExportCredentialsRequestWithBody(server string, params *ExportCredential req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3558,14 +3602,18 @@ func NewImportCredentialsRequestWithBody(server string, params *ImportCredential req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3607,14 +3655,18 @@ func NewExportEncryptionPasswordsRequestWithBody(server string, params *ExportEn req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3656,14 +3708,18 @@ func NewImportEncryptionPasswordsRequestWithBody(server string, params *ImportEn req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3705,14 +3761,18 @@ func NewExportJobsRequestWithBody(server string, params *ExportJobsParams, conte req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3754,14 +3814,18 @@ func NewImportJobsRequestWithBody(server string, params *ImportJobsParams, conte req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3803,14 +3867,18 @@ func NewExportManagedServersRequestWithBody(server string, params *ExportManaged req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3852,14 +3920,18 @@ func NewImportManagedServersRequestWithBody(server string, params *ImportManaged req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3901,14 +3973,18 @@ func NewExportProxiesRequestWithBody(server string, params *ExportProxiesParams, req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3950,14 +4026,18 @@ func NewImportProxiesRequestWithBody(server string, params *ImportProxiesParams, req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -3999,14 +4079,18 @@ func NewExportRepositoriesRequestWithBody(server string, params *ExportRepositor req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4048,14 +4132,18 @@ func NewImportRepositoriesRequestWithBody(server string, params *ImportRepositor req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4298,14 +4386,18 @@ func NewGetAllAutomationSessionsRequest(server string, params *GetAllAutomationS return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4341,14 +4433,18 @@ func NewGetAutomationSessionRequest(server string, id openapi_types.UUID, params return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4384,14 +4480,18 @@ func NewGetAutomationSessionLogsRequest(server string, id openapi_types.UUID, pa return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4427,16 +4527,20 @@ func NewStopAutomationSessionRequest(server string, id openapi_types.UUID, param return nil, err } - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + if params != nil { - req.Header.Set("x-api-version", headerParam0) + var headerParam0 string - return req, nil + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } + + return req, nil } // NewGetAllManagedServersRequest generates requests for GetAllManagedServers @@ -4581,14 +4685,18 @@ func NewGetAllManagedServersRequest(server string, params *GetAllManagedServersP return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4630,14 +4738,18 @@ func NewCreateManagedServerRequestWithBody(server string, params *CreateManagedS req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4673,14 +4785,18 @@ func NewDeleteManagedServerRequest(server string, id openapi_types.UUID, params return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4716,14 +4832,18 @@ func NewGetManagedServerRequest(server string, id openapi_types.UUID, params *Ge return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4772,14 +4892,18 @@ func NewUpdateManagedServerRequestWithBody(server string, id openapi_types.UUID, req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4828,14 +4952,18 @@ func NewUpdateSingleUseCredentialsRequestWithBody(server string, id openapi_type req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -4982,14 +5110,18 @@ func NewGetAllProxiesRequest(server string, params *GetAllProxiesParams) (*http. return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5031,14 +5163,18 @@ func NewCreateProxyRequestWithBody(server string, params *CreateProxyParams, con req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5074,14 +5210,18 @@ func NewDeleteProxyRequest(server string, id openapi_types.UUID, params *DeleteP return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5117,14 +5257,18 @@ func NewGetProxyRequest(server string, id openapi_types.UUID, params *GetProxyPa return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5173,14 +5317,18 @@ func NewUpdateProxyRequestWithBody(server string, id openapi_types.UUID, params req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5375,14 +5523,18 @@ func NewGetAllRepositoriesRequest(server string, params *GetAllRepositoriesParam return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5446,14 +5598,18 @@ func NewCreateRepositoryRequestWithBody(server string, params *CreateRepositoryP req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5648,14 +5804,18 @@ func NewGetAllRepositoriesStatesRequest(server string, params *GetAllRepositorie return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5713,14 +5873,18 @@ func NewDeleteRepositoryRequest(server string, id openapi_types.UUID, params *De return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5756,14 +5920,18 @@ func NewGetRepositoryRequest(server string, id openapi_types.UUID, params *GetRe return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5812,14 +5980,18 @@ func NewUpdateRepositoryRequestWithBody(server string, id openapi_types.UUID, pa req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5855,14 +6027,18 @@ func NewGetRepositoryAccessPermissionsRequest(server string, id openapi_types.UU return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -5911,14 +6087,18 @@ func NewUpdateRepositoryAccessPermissionsRequestWithBody(server string, id opena req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6033,14 +6213,18 @@ func NewGetAllScaleOutRepositoriesRequest(server string, params *GetAllScaleOutR return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6082,14 +6266,18 @@ func NewCreateScaleOutRepositoryRequestWithBody(server string, params *CreateSca req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6147,14 +6335,18 @@ func NewDeleteScaleOutRepositoryRequest(server string, id openapi_types.UUID, pa return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6190,14 +6382,18 @@ func NewGetScaleOutRepositoryRequest(server string, id openapi_types.UUID, param return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6246,14 +6442,18 @@ func NewUpdateScaleOutRepositoryRequestWithBody(server string, id openapi_types. req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6289,16 +6489,20 @@ func NewGetScaleOutRepositoryAccessPermissionsRequest(server string, id openapi_ return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - return req, nil + req.Header.Set("x-api-version", headerParam0) + + } + + return req, nil } // NewUpdateScaleOutRepositoryAccessPermissionsRequest calls the generic UpdateScaleOutRepositoryAccessPermissions builder with application/json body @@ -6345,14 +6549,18 @@ func NewUpdateScaleOutRepositoryAccessPermissionsRequestWithBody(server string, req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6401,14 +6609,18 @@ func NewDisableScaleOutExtentMaintenanceModeRequestWithBody(server string, id op req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6457,14 +6669,18 @@ func NewDisableScaleOutExtentSealedModeRequestWithBody(server string, id openapi req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -6513,14 +6729,18 @@ func NewEnableScaleOutExtentMaintenanceModeRequestWithBody(server string, id ope req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -6569,14 +6789,18 @@ func NewEnableScaleOutExtentSealedModeRequestWithBody(server string, id openapi_ req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6625,14 +6849,18 @@ func NewEvacuateBackupsFromScaleOutExtentRequestWithBody(server string, id opena req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { + + var headerParam0 string - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -6811,14 +7039,18 @@ func NewGetAllBackupObjectsRequest(server string, params *GetAllBackupObjectsPar return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -6854,14 +7086,18 @@ func NewGetBackupObjectRequest(server string, id openapi_types.UUID, params *Get return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -6897,14 +7133,18 @@ func NewGetBackupObjectRestorePointsRequest(server string, id openapi_types.UUID return nil, err } - var headerParam0 string + if params != nil { + + var headerParam0 string - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -7099,14 +7339,18 @@ func NewGetAllBackupsRequest(server string, params *GetAllBackupsParams) (*http. return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7142,14 +7386,18 @@ func NewGetBackupRequest(server string, id openapi_types.UUID, params *GetBackup return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7185,14 +7433,18 @@ func NewGetBackupObjectsRequest(server string, id openapi_types.UUID, params *Ge return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7234,14 +7486,18 @@ func NewBrowseCloudEntityRequestWithBody(server string, params *BrowseCloudEntit req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7283,14 +7539,18 @@ func NewCreateNewCloudFolderRequestWithBody(server string, params *CreateNewClou req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -7421,14 +7681,18 @@ func NewGetAllCloudCredsRequest(server string, params *GetAllCloudCredsParams) ( return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7470,14 +7734,18 @@ func NewCreateCloudCredsRequestWithBody(server string, params *CreateCloudCredsP req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7519,14 +7787,18 @@ func NewRequestAppRegistrationByDeviceCodeRequestWithBody(server string, params req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -7562,14 +7834,18 @@ func NewFinishAppRegistrationByDeviceCodeRequest(server string, verificationCode return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7605,14 +7881,18 @@ func NewDeleteCloudCredsRequest(server string, id openapi_types.UUID, params *De return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7648,14 +7928,18 @@ func NewGetCloudCredsRequest(server string, id openapi_types.UUID, params *GetCl return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7704,14 +7988,18 @@ func NewUpdateCloudCredsRequestWithBody(server string, id openapi_types.UUID, pa req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -7760,14 +8048,18 @@ func NewChangeCloudCertificateRequestWithBody(server string, id openapi_types.UU req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7816,14 +8108,18 @@ func NewChangeCloudCredsSecretKeyRequestWithBody(server string, id openapi_types req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { + + var headerParam0 string - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -7859,14 +8155,18 @@ func NewGetAllCredsHelperAppliancesRequest(server string, id openapi_types.UUID, return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7915,14 +8215,18 @@ func NewCreateCloudCredsHelperApplianceRequestWithBody(server string, id openapi req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -7965,14 +8269,18 @@ func NewDeleteCloudCredsHelperApplianceRequest(server string, id openapi_types.U return nil, err } - var headerParam0 string + if params != nil { + + var headerParam0 string - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -8015,14 +8323,18 @@ func NewGetCloudCredsHelperApplianceRequest(server string, id openapi_types.UUID return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -8051,14 +8363,18 @@ func NewGetConfigBackupOptionsRequest(server string, params *GetConfigBackupOpti return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8100,14 +8416,18 @@ func NewUpdateConfigBackupOptionsRequestWithBody(server string, params *UpdateCo req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { + + var headerParam0 string - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -8136,14 +8456,18 @@ func NewStartConfigBackupRequest(server string, params *StartConfigBackupParams) return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8185,14 +8509,18 @@ func NewGetConnectionCertificateRequestWithBody(server string, params *GetConnec req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -8307,14 +8635,18 @@ func NewGetAllCredsRequest(server string, params *GetAllCredsParams) (*http.Requ return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8356,14 +8688,18 @@ func NewCreateCredsRequestWithBody(server string, params *CreateCredsParams, con req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8399,14 +8735,18 @@ func NewDeleteCredsRequest(server string, id openapi_types.UUID, params *DeleteC return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8442,14 +8782,18 @@ func NewGetCredsRequest(server string, id openapi_types.UUID, params *GetCredsPa return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8498,14 +8842,18 @@ func NewUpdateCredsRequestWithBody(server string, id openapi_types.UUID, params req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8554,14 +8902,18 @@ func NewChangePasswordForCredsRequestWithBody(server string, id openapi_types.UU req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - req.Header.Set("x-api-version", headerParam0) + } return req, nil } @@ -8610,14 +8962,18 @@ func NewChangePrivateKeyForCredsRequestWithBody(server string, id openapi_types. req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8666,15 +9022,19 @@ func NewChangeRootPasswordForCredsRequestWithBody(server string, id openapi_type req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err } - req.Header.Set("x-api-version", headerParam0) - return req, nil } @@ -8772,14 +9132,18 @@ func NewGetAllEncryptionPasswordsRequest(server string, params *GetAllEncryption return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8821,14 +9185,18 @@ func NewCreateEncryptionPasswordRequestWithBody(server string, params *CreateEnc req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8864,14 +9232,18 @@ func NewDeleteEncryptionPasswordRequest(server string, id openapi_types.UUID, pa return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8907,14 +9279,18 @@ func NewGetEncryptionPasswordRequest(server string, id openapi_types.UUID, param return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8963,14 +9339,18 @@ func NewUpdateEncryptionPasswordRequestWithBody(server string, id openapi_types. req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -8999,14 +9379,18 @@ func NewGetGeneralOptionsRequest(server string, params *GetGeneralOptionsParams) return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9048,14 +9432,18 @@ func NewUpdateGeneralOptionsRequestWithBody(server string, params *UpdateGeneral req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9170,14 +9558,18 @@ func NewGetAllInventoryVmwareHostsRequest(server string, params *GetAllInventory return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9363,14 +9755,18 @@ func NewGetVmwareHostObjectRequest(server string, name string, params *GetVmware return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9501,14 +9897,18 @@ func NewGetAllJobsRequest(server string, params *GetAllJobsParams) (*http.Reques return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9550,14 +9950,18 @@ func NewCreateJobRequestWithBody(server string, params *CreateJobParams, content req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9832,14 +10236,18 @@ func NewGetAllJobsStatesRequest(server string, params *GetAllJobsStatesParams) ( return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9875,14 +10283,18 @@ func NewDeleteJobRequest(server string, id openapi_types.UUID, params *DeleteJob return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9918,14 +10330,18 @@ func NewGetJobRequest(server string, id openapi_types.UUID, params *GetJobParams return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -9974,14 +10390,18 @@ func NewUpdateJobRequestWithBody(server string, id openapi_types.UUID, params *U req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10017,14 +10437,18 @@ func NewDisableJobRequest(server string, id openapi_types.UUID, params *DisableJ return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10060,14 +10484,18 @@ func NewEnableJobRequest(server string, id openapi_types.UUID, params *EnableJob return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10116,14 +10544,18 @@ func NewStartJobRequestWithBody(server string, id openapi_types.UUID, params *St req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10172,14 +10604,18 @@ func NewStopJobRequestWithBody(server string, id openapi_types.UUID, params *Sto req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10390,14 +10826,18 @@ func NewGetAllObjectRestorePointsRequest(server string, params *GetAllObjectRest return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10433,14 +10873,18 @@ func NewGetObjectRestorePointRequest(server string, id openapi_types.UUID, param return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10476,14 +10920,18 @@ func NewGetObjectRestorePointDisksRequest(server string, id openapi_types.UUID, return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10598,14 +11046,18 @@ func NewGetAllVmwareFcdInstantRecoveryMountModelsRequest(server string, params * return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10647,14 +11099,18 @@ func NewInstantRecoveryVmwareFcdMountWithSessionRequestWithBody(server string, p req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10690,14 +11146,18 @@ func NewGetVmwareFcdInstantRecoveryMountModelRequest(server string, mountId open return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10733,14 +11193,18 @@ func NewInstantRecoveryVmwareFcdDismountWithSessionRequest(server string, mountI return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10789,14 +11253,18 @@ func NewInstantRecoveryVmwareFcdMigrateWithSessionRequestWithBody(server string, req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10911,14 +11379,18 @@ func NewGetAllInstantViVMRecoveryMountsRequest(server string, params *GetAllInst return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -10960,14 +11432,18 @@ func NewInstantViVMRecoveryMountRequestWithBody(server string, params *InstantVi req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11003,14 +11479,18 @@ func NewGetInstantViVMRecoveryMountRequest(server string, mountId openapi_types. return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11059,14 +11539,18 @@ func NewInstantViVMRecoveryMigrateRequestWithBody(server string, mountId openapi req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11102,14 +11586,18 @@ func NewInstantViVMRecoveryUnmountRequest(server string, mountId openapi_types.U return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11151,14 +11639,18 @@ func NewEntireVmRestoreVmwareRequestWithBody(server string, params *EntireVmRest req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11187,14 +11679,18 @@ func NewGetServerCertificateRequest(server string, params *GetServerCertificateP return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11223,14 +11719,18 @@ func NewGetServerInfoRequest(server string, params *GetServerInfoParams) (*http. return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11259,14 +11759,18 @@ func NewGetServerTimeRequest(server string, params *GetServerTimeParams) (*http. return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11381,14 +11885,18 @@ func NewGetAllServicesRequest(server string, params *GetAllServicesParams) (*htt return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11631,14 +12139,18 @@ func NewGetAllSessionsRequest(server string, params *GetAllSessionsParams) (*htt return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11674,14 +12186,18 @@ func NewGetSessionRequest(server string, id openapi_types.UUID, params *GetSessi return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11717,14 +12233,18 @@ func NewGetSessionLogsRequest(server string, id openapi_types.UUID, params *GetS return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string - req.Header.Set("x-api-version", headerParam0) + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } + + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11760,14 +12280,18 @@ func NewStopSessionRequest(server string, id openapi_types.UUID, params *StopSes return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11796,14 +12320,18 @@ func NewGetAllTrafficRulesRequest(server string, params *GetAllTrafficRulesParam return nil, err } - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11845,14 +12373,18 @@ func NewUpdateTrafficRulesRequestWithBody(server string, params *UpdateTrafficRu req.Header.Add("Content-Type", contentType) - var headerParam0 string + if params != nil { - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) - if err != nil { - return nil, err - } + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "x-api-version", runtime.ParamLocationHeader, params.XApiVersion) + if err != nil { + return nil, err + } - req.Header.Set("x-api-version", headerParam0) + req.Header.Set("x-api-version", headerParam0) + + } return req, nil } @@ -11900,523 +12432,523 @@ func WithBaseURL(baseURL string) ClientOption { // ClientWithResponsesInterface is the interface specification for the client with responses above. type ClientWithResponsesInterface interface { - // CreateAuthorizationCode request + // CreateAuthorizationCodeWithResponse request CreateAuthorizationCodeWithResponse(ctx context.Context, params *CreateAuthorizationCodeParams, reqEditors ...RequestEditorFn) (*CreateAuthorizationCodeResponse, error) - // Logout request + // LogoutWithResponse request LogoutWithResponse(ctx context.Context, params *LogoutParams, reqEditors ...RequestEditorFn) (*LogoutResponse, error) - // CreateToken request with any body + // CreateTokenWithBodyWithResponse request with any body CreateTokenWithBodyWithResponse(ctx context.Context, params *CreateTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error) CreateTokenWithFormdataBodyWithResponse(ctx context.Context, params *CreateTokenParams, body CreateTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error) - // GetAllComputerRecoveryTokens request + // GetAllComputerRecoveryTokensWithResponse request GetAllComputerRecoveryTokensWithResponse(ctx context.Context, params *GetAllComputerRecoveryTokensParams, reqEditors ...RequestEditorFn) (*GetAllComputerRecoveryTokensResponse, error) - // CreateComputerRecoveryToken request with any body + // CreateComputerRecoveryTokenWithBodyWithResponse request with any body CreateComputerRecoveryTokenWithBodyWithResponse(ctx context.Context, params *CreateComputerRecoveryTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateComputerRecoveryTokenResponse, error) CreateComputerRecoveryTokenWithResponse(ctx context.Context, params *CreateComputerRecoveryTokenParams, body CreateComputerRecoveryTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateComputerRecoveryTokenResponse, error) - // DeleteComputerRecoveryToken request + // DeleteComputerRecoveryTokenWithResponse request DeleteComputerRecoveryTokenWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteComputerRecoveryTokenParams, reqEditors ...RequestEditorFn) (*DeleteComputerRecoveryTokenResponse, error) - // GetComputerRecoveryToken request + // GetComputerRecoveryTokenWithResponse request GetComputerRecoveryTokenWithResponse(ctx context.Context, id openapi_types.UUID, params *GetComputerRecoveryTokenParams, reqEditors ...RequestEditorFn) (*GetComputerRecoveryTokenResponse, error) - // UpdateComputerRecoveryToken request with any body + // UpdateComputerRecoveryTokenWithBodyWithResponse request with any body UpdateComputerRecoveryTokenWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateComputerRecoveryTokenParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateComputerRecoveryTokenResponse, error) UpdateComputerRecoveryTokenWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateComputerRecoveryTokenParams, body UpdateComputerRecoveryTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateComputerRecoveryTokenResponse, error) - // ExportCloudCredentials request with any body + // ExportCloudCredentialsWithBodyWithResponse request with any body ExportCloudCredentialsWithBodyWithResponse(ctx context.Context, params *ExportCloudCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportCloudCredentialsResponse, error) ExportCloudCredentialsWithResponse(ctx context.Context, params *ExportCloudCredentialsParams, body ExportCloudCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportCloudCredentialsResponse, error) - // ImportCloudCredentials request with any body + // ImportCloudCredentialsWithBodyWithResponse request with any body ImportCloudCredentialsWithBodyWithResponse(ctx context.Context, params *ImportCloudCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportCloudCredentialsResponse, error) ImportCloudCredentialsWithResponse(ctx context.Context, params *ImportCloudCredentialsParams, body ImportCloudCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportCloudCredentialsResponse, error) - // ExportCredentials request with any body + // ExportCredentialsWithBodyWithResponse request with any body ExportCredentialsWithBodyWithResponse(ctx context.Context, params *ExportCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportCredentialsResponse, error) ExportCredentialsWithResponse(ctx context.Context, params *ExportCredentialsParams, body ExportCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportCredentialsResponse, error) - // ImportCredentials request with any body + // ImportCredentialsWithBodyWithResponse request with any body ImportCredentialsWithBodyWithResponse(ctx context.Context, params *ImportCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportCredentialsResponse, error) ImportCredentialsWithResponse(ctx context.Context, params *ImportCredentialsParams, body ImportCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportCredentialsResponse, error) - // ExportEncryptionPasswords request with any body + // ExportEncryptionPasswordsWithBodyWithResponse request with any body ExportEncryptionPasswordsWithBodyWithResponse(ctx context.Context, params *ExportEncryptionPasswordsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportEncryptionPasswordsResponse, error) ExportEncryptionPasswordsWithResponse(ctx context.Context, params *ExportEncryptionPasswordsParams, body ExportEncryptionPasswordsJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportEncryptionPasswordsResponse, error) - // ImportEncryptionPasswords request with any body + // ImportEncryptionPasswordsWithBodyWithResponse request with any body ImportEncryptionPasswordsWithBodyWithResponse(ctx context.Context, params *ImportEncryptionPasswordsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportEncryptionPasswordsResponse, error) ImportEncryptionPasswordsWithResponse(ctx context.Context, params *ImportEncryptionPasswordsParams, body ImportEncryptionPasswordsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportEncryptionPasswordsResponse, error) - // ExportJobs request with any body + // ExportJobsWithBodyWithResponse request with any body ExportJobsWithBodyWithResponse(ctx context.Context, params *ExportJobsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportJobsResponse, error) ExportJobsWithResponse(ctx context.Context, params *ExportJobsParams, body ExportJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportJobsResponse, error) - // ImportJobs request with any body + // ImportJobsWithBodyWithResponse request with any body ImportJobsWithBodyWithResponse(ctx context.Context, params *ImportJobsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportJobsResponse, error) ImportJobsWithResponse(ctx context.Context, params *ImportJobsParams, body ImportJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportJobsResponse, error) - // ExportManagedServers request with any body + // ExportManagedServersWithBodyWithResponse request with any body ExportManagedServersWithBodyWithResponse(ctx context.Context, params *ExportManagedServersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportManagedServersResponse, error) ExportManagedServersWithResponse(ctx context.Context, params *ExportManagedServersParams, body ExportManagedServersJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportManagedServersResponse, error) - // ImportManagedServers request with any body + // ImportManagedServersWithBodyWithResponse request with any body ImportManagedServersWithBodyWithResponse(ctx context.Context, params *ImportManagedServersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportManagedServersResponse, error) ImportManagedServersWithResponse(ctx context.Context, params *ImportManagedServersParams, body ImportManagedServersJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportManagedServersResponse, error) - // ExportProxies request with any body + // ExportProxiesWithBodyWithResponse request with any body ExportProxiesWithBodyWithResponse(ctx context.Context, params *ExportProxiesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportProxiesResponse, error) ExportProxiesWithResponse(ctx context.Context, params *ExportProxiesParams, body ExportProxiesJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportProxiesResponse, error) - // ImportProxies request with any body + // ImportProxiesWithBodyWithResponse request with any body ImportProxiesWithBodyWithResponse(ctx context.Context, params *ImportProxiesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportProxiesResponse, error) ImportProxiesWithResponse(ctx context.Context, params *ImportProxiesParams, body ImportProxiesJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportProxiesResponse, error) - // ExportRepositories request with any body + // ExportRepositoriesWithBodyWithResponse request with any body ExportRepositoriesWithBodyWithResponse(ctx context.Context, params *ExportRepositoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportRepositoriesResponse, error) ExportRepositoriesWithResponse(ctx context.Context, params *ExportRepositoriesParams, body ExportRepositoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportRepositoriesResponse, error) - // ImportRepositories request with any body + // ImportRepositoriesWithBodyWithResponse request with any body ImportRepositoriesWithBodyWithResponse(ctx context.Context, params *ImportRepositoriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportRepositoriesResponse, error) ImportRepositoriesWithResponse(ctx context.Context, params *ImportRepositoriesParams, body ImportRepositoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportRepositoriesResponse, error) - // GetAllAutomationSessions request + // GetAllAutomationSessionsWithResponse request GetAllAutomationSessionsWithResponse(ctx context.Context, params *GetAllAutomationSessionsParams, reqEditors ...RequestEditorFn) (*GetAllAutomationSessionsResponse, error) - // GetAutomationSession request + // GetAutomationSessionWithResponse request GetAutomationSessionWithResponse(ctx context.Context, id openapi_types.UUID, params *GetAutomationSessionParams, reqEditors ...RequestEditorFn) (*GetAutomationSessionResponse, error) - // GetAutomationSessionLogs request + // GetAutomationSessionLogsWithResponse request GetAutomationSessionLogsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetAutomationSessionLogsParams, reqEditors ...RequestEditorFn) (*GetAutomationSessionLogsResponse, error) - // StopAutomationSession request + // StopAutomationSessionWithResponse request StopAutomationSessionWithResponse(ctx context.Context, id openapi_types.UUID, params *StopAutomationSessionParams, reqEditors ...RequestEditorFn) (*StopAutomationSessionResponse, error) - // GetAllManagedServers request + // GetAllManagedServersWithResponse request GetAllManagedServersWithResponse(ctx context.Context, params *GetAllManagedServersParams, reqEditors ...RequestEditorFn) (*GetAllManagedServersResponse, error) - // CreateManagedServer request with any body + // CreateManagedServerWithBodyWithResponse request with any body CreateManagedServerWithBodyWithResponse(ctx context.Context, params *CreateManagedServerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateManagedServerResponse, error) CreateManagedServerWithResponse(ctx context.Context, params *CreateManagedServerParams, body CreateManagedServerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateManagedServerResponse, error) - // DeleteManagedServer request + // DeleteManagedServerWithResponse request DeleteManagedServerWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteManagedServerParams, reqEditors ...RequestEditorFn) (*DeleteManagedServerResponse, error) - // GetManagedServer request + // GetManagedServerWithResponse request GetManagedServerWithResponse(ctx context.Context, id openapi_types.UUID, params *GetManagedServerParams, reqEditors ...RequestEditorFn) (*GetManagedServerResponse, error) - // UpdateManagedServer request with any body + // UpdateManagedServerWithBodyWithResponse request with any body UpdateManagedServerWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateManagedServerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateManagedServerResponse, error) UpdateManagedServerWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateManagedServerParams, body UpdateManagedServerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateManagedServerResponse, error) - // UpdateSingleUseCredentials request with any body + // UpdateSingleUseCredentialsWithBodyWithResponse request with any body UpdateSingleUseCredentialsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateSingleUseCredentialsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSingleUseCredentialsResponse, error) UpdateSingleUseCredentialsWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateSingleUseCredentialsParams, body UpdateSingleUseCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSingleUseCredentialsResponse, error) - // GetAllProxies request + // GetAllProxiesWithResponse request GetAllProxiesWithResponse(ctx context.Context, params *GetAllProxiesParams, reqEditors ...RequestEditorFn) (*GetAllProxiesResponse, error) - // CreateProxy request with any body + // CreateProxyWithBodyWithResponse request with any body CreateProxyWithBodyWithResponse(ctx context.Context, params *CreateProxyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProxyResponse, error) CreateProxyWithResponse(ctx context.Context, params *CreateProxyParams, body CreateProxyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProxyResponse, error) - // DeleteProxy request + // DeleteProxyWithResponse request DeleteProxyWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteProxyParams, reqEditors ...RequestEditorFn) (*DeleteProxyResponse, error) - // GetProxy request + // GetProxyWithResponse request GetProxyWithResponse(ctx context.Context, id openapi_types.UUID, params *GetProxyParams, reqEditors ...RequestEditorFn) (*GetProxyResponse, error) - // UpdateProxy request with any body + // UpdateProxyWithBodyWithResponse request with any body UpdateProxyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateProxyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProxyResponse, error) UpdateProxyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateProxyParams, body UpdateProxyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProxyResponse, error) - // GetAllRepositories request + // GetAllRepositoriesWithResponse request GetAllRepositoriesWithResponse(ctx context.Context, params *GetAllRepositoriesParams, reqEditors ...RequestEditorFn) (*GetAllRepositoriesResponse, error) - // CreateRepository request with any body + // CreateRepositoryWithBodyWithResponse request with any body CreateRepositoryWithBodyWithResponse(ctx context.Context, params *CreateRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRepositoryResponse, error) CreateRepositoryWithResponse(ctx context.Context, params *CreateRepositoryParams, body CreateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRepositoryResponse, error) - // GetAllRepositoriesStates request + // GetAllRepositoriesStatesWithResponse request GetAllRepositoriesStatesWithResponse(ctx context.Context, params *GetAllRepositoriesStatesParams, reqEditors ...RequestEditorFn) (*GetAllRepositoriesStatesResponse, error) - // DeleteRepository request + // DeleteRepositoryWithResponse request DeleteRepositoryWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteRepositoryParams, reqEditors ...RequestEditorFn) (*DeleteRepositoryResponse, error) - // GetRepository request + // GetRepositoryWithResponse request GetRepositoryWithResponse(ctx context.Context, id openapi_types.UUID, params *GetRepositoryParams, reqEditors ...RequestEditorFn) (*GetRepositoryResponse, error) - // UpdateRepository request with any body + // UpdateRepositoryWithBodyWithResponse request with any body UpdateRepositoryWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRepositoryResponse, error) UpdateRepositoryWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryParams, body UpdateRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRepositoryResponse, error) - // GetRepositoryAccessPermissions request + // GetRepositoryAccessPermissionsWithResponse request GetRepositoryAccessPermissionsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetRepositoryAccessPermissionsParams, reqEditors ...RequestEditorFn) (*GetRepositoryAccessPermissionsResponse, error) - // UpdateRepositoryAccessPermissions request with any body + // UpdateRepositoryAccessPermissionsWithBodyWithResponse request with any body UpdateRepositoryAccessPermissionsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryAccessPermissionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRepositoryAccessPermissionsResponse, error) UpdateRepositoryAccessPermissionsWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateRepositoryAccessPermissionsParams, body UpdateRepositoryAccessPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRepositoryAccessPermissionsResponse, error) - // GetAllScaleOutRepositories request + // GetAllScaleOutRepositoriesWithResponse request GetAllScaleOutRepositoriesWithResponse(ctx context.Context, params *GetAllScaleOutRepositoriesParams, reqEditors ...RequestEditorFn) (*GetAllScaleOutRepositoriesResponse, error) - // CreateScaleOutRepository request with any body + // CreateScaleOutRepositoryWithBodyWithResponse request with any body CreateScaleOutRepositoryWithBodyWithResponse(ctx context.Context, params *CreateScaleOutRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScaleOutRepositoryResponse, error) CreateScaleOutRepositoryWithResponse(ctx context.Context, params *CreateScaleOutRepositoryParams, body CreateScaleOutRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScaleOutRepositoryResponse, error) - // DeleteScaleOutRepository request + // DeleteScaleOutRepositoryWithResponse request DeleteScaleOutRepositoryWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteScaleOutRepositoryParams, reqEditors ...RequestEditorFn) (*DeleteScaleOutRepositoryResponse, error) - // GetScaleOutRepository request + // GetScaleOutRepositoryWithResponse request GetScaleOutRepositoryWithResponse(ctx context.Context, id openapi_types.UUID, params *GetScaleOutRepositoryParams, reqEditors ...RequestEditorFn) (*GetScaleOutRepositoryResponse, error) - // UpdateScaleOutRepository request with any body + // UpdateScaleOutRepositoryWithBodyWithResponse request with any body UpdateScaleOutRepositoryWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScaleOutRepositoryResponse, error) UpdateScaleOutRepositoryWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryParams, body UpdateScaleOutRepositoryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScaleOutRepositoryResponse, error) - // GetScaleOutRepositoryAccessPermissions request + // GetScaleOutRepositoryAccessPermissionsWithResponse request GetScaleOutRepositoryAccessPermissionsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetScaleOutRepositoryAccessPermissionsParams, reqEditors ...RequestEditorFn) (*GetScaleOutRepositoryAccessPermissionsResponse, error) - // UpdateScaleOutRepositoryAccessPermissions request with any body + // UpdateScaleOutRepositoryAccessPermissionsWithBodyWithResponse request with any body UpdateScaleOutRepositoryAccessPermissionsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryAccessPermissionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScaleOutRepositoryAccessPermissionsResponse, error) UpdateScaleOutRepositoryAccessPermissionsWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateScaleOutRepositoryAccessPermissionsParams, body UpdateScaleOutRepositoryAccessPermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScaleOutRepositoryAccessPermissionsResponse, error) - // DisableScaleOutExtentMaintenanceMode request with any body + // DisableScaleOutExtentMaintenanceModeWithBodyWithResponse request with any body DisableScaleOutExtentMaintenanceModeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentMaintenanceModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DisableScaleOutExtentMaintenanceModeResponse, error) DisableScaleOutExtentMaintenanceModeWithResponse(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentMaintenanceModeParams, body DisableScaleOutExtentMaintenanceModeJSONRequestBody, reqEditors ...RequestEditorFn) (*DisableScaleOutExtentMaintenanceModeResponse, error) - // DisableScaleOutExtentSealedMode request with any body + // DisableScaleOutExtentSealedModeWithBodyWithResponse request with any body DisableScaleOutExtentSealedModeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentSealedModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DisableScaleOutExtentSealedModeResponse, error) DisableScaleOutExtentSealedModeWithResponse(ctx context.Context, id openapi_types.UUID, params *DisableScaleOutExtentSealedModeParams, body DisableScaleOutExtentSealedModeJSONRequestBody, reqEditors ...RequestEditorFn) (*DisableScaleOutExtentSealedModeResponse, error) - // EnableScaleOutExtentMaintenanceMode request with any body + // EnableScaleOutExtentMaintenanceModeWithBodyWithResponse request with any body EnableScaleOutExtentMaintenanceModeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentMaintenanceModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableScaleOutExtentMaintenanceModeResponse, error) EnableScaleOutExtentMaintenanceModeWithResponse(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentMaintenanceModeParams, body EnableScaleOutExtentMaintenanceModeJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableScaleOutExtentMaintenanceModeResponse, error) - // EnableScaleOutExtentSealedMode request with any body + // EnableScaleOutExtentSealedModeWithBodyWithResponse request with any body EnableScaleOutExtentSealedModeWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentSealedModeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableScaleOutExtentSealedModeResponse, error) EnableScaleOutExtentSealedModeWithResponse(ctx context.Context, id openapi_types.UUID, params *EnableScaleOutExtentSealedModeParams, body EnableScaleOutExtentSealedModeJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableScaleOutExtentSealedModeResponse, error) - // EvacuateBackupsFromScaleOutExtent request with any body + // EvacuateBackupsFromScaleOutExtentWithBodyWithResponse request with any body EvacuateBackupsFromScaleOutExtentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *EvacuateBackupsFromScaleOutExtentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvacuateBackupsFromScaleOutExtentResponse, error) EvacuateBackupsFromScaleOutExtentWithResponse(ctx context.Context, id openapi_types.UUID, params *EvacuateBackupsFromScaleOutExtentParams, body EvacuateBackupsFromScaleOutExtentJSONRequestBody, reqEditors ...RequestEditorFn) (*EvacuateBackupsFromScaleOutExtentResponse, error) - // GetAllBackupObjects request + // GetAllBackupObjectsWithResponse request GetAllBackupObjectsWithResponse(ctx context.Context, params *GetAllBackupObjectsParams, reqEditors ...RequestEditorFn) (*GetAllBackupObjectsResponse, error) - // GetBackupObject request + // GetBackupObjectWithResponse request GetBackupObjectWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupObjectParams, reqEditors ...RequestEditorFn) (*GetBackupObjectResponse, error) - // GetBackupObjectRestorePoints request + // GetBackupObjectRestorePointsWithResponse request GetBackupObjectRestorePointsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupObjectRestorePointsParams, reqEditors ...RequestEditorFn) (*GetBackupObjectRestorePointsResponse, error) - // GetAllBackups request + // GetAllBackupsWithResponse request GetAllBackupsWithResponse(ctx context.Context, params *GetAllBackupsParams, reqEditors ...RequestEditorFn) (*GetAllBackupsResponse, error) - // GetBackup request + // GetBackupWithResponse request GetBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, reqEditors ...RequestEditorFn) (*GetBackupResponse, error) - // GetBackupObjects request + // GetBackupObjectsWithResponse request GetBackupObjectsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupObjectsParams, reqEditors ...RequestEditorFn) (*GetBackupObjectsResponse, error) - // BrowseCloudEntity request with any body + // BrowseCloudEntityWithBodyWithResponse request with any body BrowseCloudEntityWithBodyWithResponse(ctx context.Context, params *BrowseCloudEntityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BrowseCloudEntityResponse, error) BrowseCloudEntityWithResponse(ctx context.Context, params *BrowseCloudEntityParams, body BrowseCloudEntityJSONRequestBody, reqEditors ...RequestEditorFn) (*BrowseCloudEntityResponse, error) - // CreateNewCloudFolder request with any body + // CreateNewCloudFolderWithBodyWithResponse request with any body CreateNewCloudFolderWithBodyWithResponse(ctx context.Context, params *CreateNewCloudFolderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNewCloudFolderResponse, error) CreateNewCloudFolderWithResponse(ctx context.Context, params *CreateNewCloudFolderParams, body CreateNewCloudFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNewCloudFolderResponse, error) - // GetAllCloudCreds request + // GetAllCloudCredsWithResponse request GetAllCloudCredsWithResponse(ctx context.Context, params *GetAllCloudCredsParams, reqEditors ...RequestEditorFn) (*GetAllCloudCredsResponse, error) - // CreateCloudCreds request with any body + // CreateCloudCredsWithBodyWithResponse request with any body CreateCloudCredsWithBodyWithResponse(ctx context.Context, params *CreateCloudCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCloudCredsResponse, error) CreateCloudCredsWithResponse(ctx context.Context, params *CreateCloudCredsParams, body CreateCloudCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloudCredsResponse, error) - // RequestAppRegistrationByDeviceCode request with any body + // RequestAppRegistrationByDeviceCodeWithBodyWithResponse request with any body RequestAppRegistrationByDeviceCodeWithBodyWithResponse(ctx context.Context, params *RequestAppRegistrationByDeviceCodeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestAppRegistrationByDeviceCodeResponse, error) RequestAppRegistrationByDeviceCodeWithResponse(ctx context.Context, params *RequestAppRegistrationByDeviceCodeParams, body RequestAppRegistrationByDeviceCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestAppRegistrationByDeviceCodeResponse, error) - // FinishAppRegistrationByDeviceCode request + // FinishAppRegistrationByDeviceCodeWithResponse request FinishAppRegistrationByDeviceCodeWithResponse(ctx context.Context, verificationCode string, params *FinishAppRegistrationByDeviceCodeParams, reqEditors ...RequestEditorFn) (*FinishAppRegistrationByDeviceCodeResponse, error) - // DeleteCloudCreds request + // DeleteCloudCredsWithResponse request DeleteCloudCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteCloudCredsParams, reqEditors ...RequestEditorFn) (*DeleteCloudCredsResponse, error) - // GetCloudCreds request + // GetCloudCredsWithResponse request GetCloudCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetCloudCredsParams, reqEditors ...RequestEditorFn) (*GetCloudCredsResponse, error) - // UpdateCloudCreds request with any body + // UpdateCloudCredsWithBodyWithResponse request with any body UpdateCloudCredsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateCloudCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCloudCredsResponse, error) UpdateCloudCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateCloudCredsParams, body UpdateCloudCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCloudCredsResponse, error) - // ChangeCloudCertificate request with any body + // ChangeCloudCertificateWithBodyWithResponse request with any body ChangeCloudCertificateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeCloudCertificateResponse, error) ChangeCloudCertificateWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCertificateParams, body ChangeCloudCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeCloudCertificateResponse, error) - // ChangeCloudCredsSecretKey request with any body + // ChangeCloudCredsSecretKeyWithBodyWithResponse request with any body ChangeCloudCredsSecretKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCredsSecretKeyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeCloudCredsSecretKeyResponse, error) ChangeCloudCredsSecretKeyWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangeCloudCredsSecretKeyParams, body ChangeCloudCredsSecretKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeCloudCredsSecretKeyResponse, error) - // GetAllCredsHelperAppliances request + // GetAllCredsHelperAppliancesWithResponse request GetAllCredsHelperAppliancesWithResponse(ctx context.Context, id openapi_types.UUID, params *GetAllCredsHelperAppliancesParams, reqEditors ...RequestEditorFn) (*GetAllCredsHelperAppliancesResponse, error) - // CreateCloudCredsHelperAppliance request with any body + // CreateCloudCredsHelperApplianceWithBodyWithResponse request with any body CreateCloudCredsHelperApplianceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *CreateCloudCredsHelperApplianceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCloudCredsHelperApplianceResponse, error) CreateCloudCredsHelperApplianceWithResponse(ctx context.Context, id openapi_types.UUID, params *CreateCloudCredsHelperApplianceParams, body CreateCloudCredsHelperApplianceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCloudCredsHelperApplianceResponse, error) - // DeleteCloudCredsHelperAppliance request + // DeleteCloudCredsHelperApplianceWithResponse request DeleteCloudCredsHelperApplianceWithResponse(ctx context.Context, id openapi_types.UUID, applianceId openapi_types.UUID, params *DeleteCloudCredsHelperApplianceParams, reqEditors ...RequestEditorFn) (*DeleteCloudCredsHelperApplianceResponse, error) - // GetCloudCredsHelperAppliance request + // GetCloudCredsHelperApplianceWithResponse request GetCloudCredsHelperApplianceWithResponse(ctx context.Context, id openapi_types.UUID, applianceId openapi_types.UUID, params *GetCloudCredsHelperApplianceParams, reqEditors ...RequestEditorFn) (*GetCloudCredsHelperApplianceResponse, error) - // GetConfigBackupOptions request + // GetConfigBackupOptionsWithResponse request GetConfigBackupOptionsWithResponse(ctx context.Context, params *GetConfigBackupOptionsParams, reqEditors ...RequestEditorFn) (*GetConfigBackupOptionsResponse, error) - // UpdateConfigBackupOptions request with any body + // UpdateConfigBackupOptionsWithBodyWithResponse request with any body UpdateConfigBackupOptionsWithBodyWithResponse(ctx context.Context, params *UpdateConfigBackupOptionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConfigBackupOptionsResponse, error) UpdateConfigBackupOptionsWithResponse(ctx context.Context, params *UpdateConfigBackupOptionsParams, body UpdateConfigBackupOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConfigBackupOptionsResponse, error) - // StartConfigBackup request + // StartConfigBackupWithResponse request StartConfigBackupWithResponse(ctx context.Context, params *StartConfigBackupParams, reqEditors ...RequestEditorFn) (*StartConfigBackupResponse, error) - // GetConnectionCertificate request with any body + // GetConnectionCertificateWithBodyWithResponse request with any body GetConnectionCertificateWithBodyWithResponse(ctx context.Context, params *GetConnectionCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetConnectionCertificateResponse, error) GetConnectionCertificateWithResponse(ctx context.Context, params *GetConnectionCertificateParams, body GetConnectionCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*GetConnectionCertificateResponse, error) - // GetAllCreds request + // GetAllCredsWithResponse request GetAllCredsWithResponse(ctx context.Context, params *GetAllCredsParams, reqEditors ...RequestEditorFn) (*GetAllCredsResponse, error) - // CreateCreds request with any body + // CreateCredsWithBodyWithResponse request with any body CreateCredsWithBodyWithResponse(ctx context.Context, params *CreateCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCredsResponse, error) CreateCredsWithResponse(ctx context.Context, params *CreateCredsParams, body CreateCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCredsResponse, error) - // DeleteCreds request + // DeleteCredsWithResponse request DeleteCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteCredsParams, reqEditors ...RequestEditorFn) (*DeleteCredsResponse, error) - // GetCreds request + // GetCredsWithResponse request GetCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetCredsParams, reqEditors ...RequestEditorFn) (*GetCredsResponse, error) - // UpdateCreds request with any body + // UpdateCredsWithBodyWithResponse request with any body UpdateCredsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCredsResponse, error) UpdateCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateCredsParams, body UpdateCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCredsResponse, error) - // ChangePasswordForCreds request with any body + // ChangePasswordForCredsWithBodyWithResponse request with any body ChangePasswordForCredsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangePasswordForCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangePasswordForCredsResponse, error) ChangePasswordForCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangePasswordForCredsParams, body ChangePasswordForCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangePasswordForCredsResponse, error) - // ChangePrivateKeyForCreds request with any body + // ChangePrivateKeyForCredsWithBodyWithResponse request with any body ChangePrivateKeyForCredsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangePrivateKeyForCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangePrivateKeyForCredsResponse, error) ChangePrivateKeyForCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangePrivateKeyForCredsParams, body ChangePrivateKeyForCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangePrivateKeyForCredsResponse, error) - // ChangeRootPasswordForCreds request with any body + // ChangeRootPasswordForCredsWithBodyWithResponse request with any body ChangeRootPasswordForCredsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangeRootPasswordForCredsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeRootPasswordForCredsResponse, error) ChangeRootPasswordForCredsWithResponse(ctx context.Context, id openapi_types.UUID, params *ChangeRootPasswordForCredsParams, body ChangeRootPasswordForCredsJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeRootPasswordForCredsResponse, error) - // GetAllEncryptionPasswords request + // GetAllEncryptionPasswordsWithResponse request GetAllEncryptionPasswordsWithResponse(ctx context.Context, params *GetAllEncryptionPasswordsParams, reqEditors ...RequestEditorFn) (*GetAllEncryptionPasswordsResponse, error) - // CreateEncryptionPassword request with any body + // CreateEncryptionPasswordWithBodyWithResponse request with any body CreateEncryptionPasswordWithBodyWithResponse(ctx context.Context, params *CreateEncryptionPasswordParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEncryptionPasswordResponse, error) CreateEncryptionPasswordWithResponse(ctx context.Context, params *CreateEncryptionPasswordParams, body CreateEncryptionPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEncryptionPasswordResponse, error) - // DeleteEncryptionPassword request + // DeleteEncryptionPasswordWithResponse request DeleteEncryptionPasswordWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteEncryptionPasswordParams, reqEditors ...RequestEditorFn) (*DeleteEncryptionPasswordResponse, error) - // GetEncryptionPassword request + // GetEncryptionPasswordWithResponse request GetEncryptionPasswordWithResponse(ctx context.Context, id openapi_types.UUID, params *GetEncryptionPasswordParams, reqEditors ...RequestEditorFn) (*GetEncryptionPasswordResponse, error) - // UpdateEncryptionPassword request with any body + // UpdateEncryptionPasswordWithBodyWithResponse request with any body UpdateEncryptionPasswordWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateEncryptionPasswordParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEncryptionPasswordResponse, error) UpdateEncryptionPasswordWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateEncryptionPasswordParams, body UpdateEncryptionPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEncryptionPasswordResponse, error) - // GetGeneralOptions request + // GetGeneralOptionsWithResponse request GetGeneralOptionsWithResponse(ctx context.Context, params *GetGeneralOptionsParams, reqEditors ...RequestEditorFn) (*GetGeneralOptionsResponse, error) - // UpdateGeneralOptions request with any body + // UpdateGeneralOptionsWithBodyWithResponse request with any body UpdateGeneralOptionsWithBodyWithResponse(ctx context.Context, params *UpdateGeneralOptionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGeneralOptionsResponse, error) UpdateGeneralOptionsWithResponse(ctx context.Context, params *UpdateGeneralOptionsParams, body UpdateGeneralOptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGeneralOptionsResponse, error) - // GetAllInventoryVmwareHosts request + // GetAllInventoryVmwareHostsWithResponse request GetAllInventoryVmwareHostsWithResponse(ctx context.Context, params *GetAllInventoryVmwareHostsParams, reqEditors ...RequestEditorFn) (*GetAllInventoryVmwareHostsResponse, error) - // GetVmwareHostObject request + // GetVmwareHostObjectWithResponse request GetVmwareHostObjectWithResponse(ctx context.Context, name string, params *GetVmwareHostObjectParams, reqEditors ...RequestEditorFn) (*GetVmwareHostObjectResponse, error) - // GetAllJobs request + // GetAllJobsWithResponse request GetAllJobsWithResponse(ctx context.Context, params *GetAllJobsParams, reqEditors ...RequestEditorFn) (*GetAllJobsResponse, error) - // CreateJob request with any body + // CreateJobWithBodyWithResponse request with any body CreateJobWithBodyWithResponse(ctx context.Context, params *CreateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJobResponse, error) CreateJobWithResponse(ctx context.Context, params *CreateJobParams, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJobResponse, error) - // GetAllJobsStates request + // GetAllJobsStatesWithResponse request GetAllJobsStatesWithResponse(ctx context.Context, params *GetAllJobsStatesParams, reqEditors ...RequestEditorFn) (*GetAllJobsStatesResponse, error) - // DeleteJob request + // DeleteJobWithResponse request DeleteJobWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteJobParams, reqEditors ...RequestEditorFn) (*DeleteJobResponse, error) - // GetJob request + // GetJobWithResponse request GetJobWithResponse(ctx context.Context, id openapi_types.UUID, params *GetJobParams, reqEditors ...RequestEditorFn) (*GetJobResponse, error) - // UpdateJob request with any body + // UpdateJobWithBodyWithResponse request with any body UpdateJobWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJobResponse, error) UpdateJobWithResponse(ctx context.Context, id openapi_types.UUID, params *UpdateJobParams, body UpdateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJobResponse, error) - // DisableJob request + // DisableJobWithResponse request DisableJobWithResponse(ctx context.Context, id openapi_types.UUID, params *DisableJobParams, reqEditors ...RequestEditorFn) (*DisableJobResponse, error) - // EnableJob request + // EnableJobWithResponse request EnableJobWithResponse(ctx context.Context, id openapi_types.UUID, params *EnableJobParams, reqEditors ...RequestEditorFn) (*EnableJobResponse, error) - // StartJob request with any body + // StartJobWithBodyWithResponse request with any body StartJobWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *StartJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartJobResponse, error) StartJobWithResponse(ctx context.Context, id openapi_types.UUID, params *StartJobParams, body StartJobJSONRequestBody, reqEditors ...RequestEditorFn) (*StartJobResponse, error) - // StopJob request with any body + // StopJobWithBodyWithResponse request with any body StopJobWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *StopJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopJobResponse, error) StopJobWithResponse(ctx context.Context, id openapi_types.UUID, params *StopJobParams, body StopJobJSONRequestBody, reqEditors ...RequestEditorFn) (*StopJobResponse, error) - // GetAllObjectRestorePoints request + // GetAllObjectRestorePointsWithResponse request GetAllObjectRestorePointsWithResponse(ctx context.Context, params *GetAllObjectRestorePointsParams, reqEditors ...RequestEditorFn) (*GetAllObjectRestorePointsResponse, error) - // GetObjectRestorePoint request + // GetObjectRestorePointWithResponse request GetObjectRestorePointWithResponse(ctx context.Context, id openapi_types.UUID, params *GetObjectRestorePointParams, reqEditors ...RequestEditorFn) (*GetObjectRestorePointResponse, error) - // GetObjectRestorePointDisks request + // GetObjectRestorePointDisksWithResponse request GetObjectRestorePointDisksWithResponse(ctx context.Context, id openapi_types.UUID, params *GetObjectRestorePointDisksParams, reqEditors ...RequestEditorFn) (*GetObjectRestorePointDisksResponse, error) - // GetAllVmwareFcdInstantRecoveryMountModels request + // GetAllVmwareFcdInstantRecoveryMountModelsWithResponse request GetAllVmwareFcdInstantRecoveryMountModelsWithResponse(ctx context.Context, params *GetAllVmwareFcdInstantRecoveryMountModelsParams, reqEditors ...RequestEditorFn) (*GetAllVmwareFcdInstantRecoveryMountModelsResponse, error) - // InstantRecoveryVmwareFcdMountWithSession request with any body + // InstantRecoveryVmwareFcdMountWithSessionWithBodyWithResponse request with any body InstantRecoveryVmwareFcdMountWithSessionWithBodyWithResponse(ctx context.Context, params *InstantRecoveryVmwareFcdMountWithSessionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstantRecoveryVmwareFcdMountWithSessionResponse, error) InstantRecoveryVmwareFcdMountWithSessionWithResponse(ctx context.Context, params *InstantRecoveryVmwareFcdMountWithSessionParams, body InstantRecoveryVmwareFcdMountWithSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*InstantRecoveryVmwareFcdMountWithSessionResponse, error) - // GetVmwareFcdInstantRecoveryMountModel request + // GetVmwareFcdInstantRecoveryMountModelWithResponse request GetVmwareFcdInstantRecoveryMountModelWithResponse(ctx context.Context, mountId openapi_types.UUID, params *GetVmwareFcdInstantRecoveryMountModelParams, reqEditors ...RequestEditorFn) (*GetVmwareFcdInstantRecoveryMountModelResponse, error) - // InstantRecoveryVmwareFcdDismountWithSession request + // InstantRecoveryVmwareFcdDismountWithSessionWithResponse request InstantRecoveryVmwareFcdDismountWithSessionWithResponse(ctx context.Context, mountId openapi_types.UUID, params *InstantRecoveryVmwareFcdDismountWithSessionParams, reqEditors ...RequestEditorFn) (*InstantRecoveryVmwareFcdDismountWithSessionResponse, error) - // InstantRecoveryVmwareFcdMigrateWithSession request with any body + // InstantRecoveryVmwareFcdMigrateWithSessionWithBodyWithResponse request with any body InstantRecoveryVmwareFcdMigrateWithSessionWithBodyWithResponse(ctx context.Context, mountId openapi_types.UUID, params *InstantRecoveryVmwareFcdMigrateWithSessionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstantRecoveryVmwareFcdMigrateWithSessionResponse, error) InstantRecoveryVmwareFcdMigrateWithSessionWithResponse(ctx context.Context, mountId openapi_types.UUID, params *InstantRecoveryVmwareFcdMigrateWithSessionParams, body InstantRecoveryVmwareFcdMigrateWithSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*InstantRecoveryVmwareFcdMigrateWithSessionResponse, error) - // GetAllInstantViVMRecoveryMounts request + // GetAllInstantViVMRecoveryMountsWithResponse request GetAllInstantViVMRecoveryMountsWithResponse(ctx context.Context, params *GetAllInstantViVMRecoveryMountsParams, reqEditors ...RequestEditorFn) (*GetAllInstantViVMRecoveryMountsResponse, error) - // InstantViVMRecoveryMount request with any body + // InstantViVMRecoveryMountWithBodyWithResponse request with any body InstantViVMRecoveryMountWithBodyWithResponse(ctx context.Context, params *InstantViVMRecoveryMountParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstantViVMRecoveryMountResponse, error) InstantViVMRecoveryMountWithResponse(ctx context.Context, params *InstantViVMRecoveryMountParams, body InstantViVMRecoveryMountJSONRequestBody, reqEditors ...RequestEditorFn) (*InstantViVMRecoveryMountResponse, error) - // GetInstantViVMRecoveryMount request + // GetInstantViVMRecoveryMountWithResponse request GetInstantViVMRecoveryMountWithResponse(ctx context.Context, mountId openapi_types.UUID, params *GetInstantViVMRecoveryMountParams, reqEditors ...RequestEditorFn) (*GetInstantViVMRecoveryMountResponse, error) - // InstantViVMRecoveryMigrate request with any body + // InstantViVMRecoveryMigrateWithBodyWithResponse request with any body InstantViVMRecoveryMigrateWithBodyWithResponse(ctx context.Context, mountId openapi_types.UUID, params *InstantViVMRecoveryMigrateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InstantViVMRecoveryMigrateResponse, error) InstantViVMRecoveryMigrateWithResponse(ctx context.Context, mountId openapi_types.UUID, params *InstantViVMRecoveryMigrateParams, body InstantViVMRecoveryMigrateJSONRequestBody, reqEditors ...RequestEditorFn) (*InstantViVMRecoveryMigrateResponse, error) - // InstantViVMRecoveryUnmount request + // InstantViVMRecoveryUnmountWithResponse request InstantViVMRecoveryUnmountWithResponse(ctx context.Context, mountId openapi_types.UUID, params *InstantViVMRecoveryUnmountParams, reqEditors ...RequestEditorFn) (*InstantViVMRecoveryUnmountResponse, error) - // EntireVmRestoreVmware request with any body + // EntireVmRestoreVmwareWithBodyWithResponse request with any body EntireVmRestoreVmwareWithBodyWithResponse(ctx context.Context, params *EntireVmRestoreVmwareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EntireVmRestoreVmwareResponse, error) EntireVmRestoreVmwareWithResponse(ctx context.Context, params *EntireVmRestoreVmwareParams, body EntireVmRestoreVmwareJSONRequestBody, reqEditors ...RequestEditorFn) (*EntireVmRestoreVmwareResponse, error) - // GetServerCertificate request + // GetServerCertificateWithResponse request GetServerCertificateWithResponse(ctx context.Context, params *GetServerCertificateParams, reqEditors ...RequestEditorFn) (*GetServerCertificateResponse, error) - // GetServerInfo request + // GetServerInfoWithResponse request GetServerInfoWithResponse(ctx context.Context, params *GetServerInfoParams, reqEditors ...RequestEditorFn) (*GetServerInfoResponse, error) - // GetServerTime request + // GetServerTimeWithResponse request GetServerTimeWithResponse(ctx context.Context, params *GetServerTimeParams, reqEditors ...RequestEditorFn) (*GetServerTimeResponse, error) - // GetAllServices request + // GetAllServicesWithResponse request GetAllServicesWithResponse(ctx context.Context, params *GetAllServicesParams, reqEditors ...RequestEditorFn) (*GetAllServicesResponse, error) - // GetAllSessions request + // GetAllSessionsWithResponse request GetAllSessionsWithResponse(ctx context.Context, params *GetAllSessionsParams, reqEditors ...RequestEditorFn) (*GetAllSessionsResponse, error) - // GetSession request + // GetSessionWithResponse request GetSessionWithResponse(ctx context.Context, id openapi_types.UUID, params *GetSessionParams, reqEditors ...RequestEditorFn) (*GetSessionResponse, error) - // GetSessionLogs request + // GetSessionLogsWithResponse request GetSessionLogsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetSessionLogsParams, reqEditors ...RequestEditorFn) (*GetSessionLogsResponse, error) - // StopSession request + // StopSessionWithResponse request StopSessionWithResponse(ctx context.Context, id openapi_types.UUID, params *StopSessionParams, reqEditors ...RequestEditorFn) (*StopSessionResponse, error) - // GetAllTrafficRules request + // GetAllTrafficRulesWithResponse request GetAllTrafficRulesWithResponse(ctx context.Context, params *GetAllTrafficRulesParams, reqEditors ...RequestEditorFn) (*GetAllTrafficRulesResponse, error) - // UpdateTrafficRules request with any body + // UpdateTrafficRulesWithBodyWithResponse request with any body UpdateTrafficRulesWithBodyWithResponse(ctx context.Context, params *UpdateTrafficRulesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTrafficRulesResponse, error) UpdateTrafficRulesWithResponse(ctx context.Context, params *UpdateTrafficRulesParams, body UpdateTrafficRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTrafficRulesResponse, error) @@ -12426,9 +12958,9 @@ type CreateAuthorizationCodeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AuthorizationCodeModel - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12451,9 +12983,9 @@ type LogoutResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12476,10 +13008,10 @@ type CreateTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TokenModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12502,9 +13034,9 @@ type GetAllComputerRecoveryTokensResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ComputerRecoveryTokenResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12527,10 +13059,10 @@ type CreateComputerRecoveryTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ComputerRecoveryTokenModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12553,10 +13085,10 @@ type DeleteComputerRecoveryTokenResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12579,10 +13111,10 @@ type GetComputerRecoveryTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ComputerRecoveryTokenModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12605,11 +13137,11 @@ type UpdateComputerRecoveryTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ComputerRecoveryTokenModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12632,10 +13164,10 @@ type ExportCloudCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudCredentialsImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12658,10 +13190,10 @@ type ImportCloudCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12684,10 +13216,10 @@ type ExportCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12710,10 +13242,10 @@ type ImportCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12736,10 +13268,10 @@ type ExportEncryptionPasswordsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EncryptionPasswordImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12762,10 +13294,10 @@ type ImportEncryptionPasswordsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12788,10 +13320,10 @@ type ExportJobsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *JobImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12814,10 +13346,10 @@ type ImportJobsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12840,10 +13372,10 @@ type ExportManagedServersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ManageServerImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12866,10 +13398,10 @@ type ImportManagedServersResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12892,10 +13424,10 @@ type ExportProxiesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProxyImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12918,10 +13450,10 @@ type ImportProxiesResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12944,10 +13476,10 @@ type ExportRepositoriesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryImportSpecCollection - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12970,10 +13502,10 @@ type ImportRepositoriesResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -12996,9 +13528,9 @@ type GetAllAutomationSessionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13021,10 +13553,10 @@ type GetAutomationSessionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13047,10 +13579,10 @@ type GetAutomationSessionLogsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionLogResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13073,10 +13605,10 @@ type StopAutomationSessionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13099,9 +13631,9 @@ type GetAllManagedServersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ManagedServersResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13124,10 +13656,10 @@ type CreateManagedServerResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13150,10 +13682,10 @@ type DeleteManagedServerResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13176,10 +13708,10 @@ type GetManagedServerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ManagedServerModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13202,11 +13734,11 @@ type UpdateManagedServerResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13229,11 +13761,11 @@ type UpdateSingleUseCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13256,9 +13788,9 @@ type GetAllProxiesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProxiesResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13281,10 +13813,10 @@ type CreateProxyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13306,11 +13838,11 @@ func (r CreateProxyResponse) StatusCode() int { type DeleteProxyResponse struct { Body []byte HTTPResponse *http.Response - JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON204 *Deleted + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13333,10 +13865,10 @@ type GetProxyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProxyModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13359,11 +13891,11 @@ type UpdateProxyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13386,9 +13918,9 @@ type GetAllRepositoriesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoriesResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13411,10 +13943,10 @@ type CreateRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13437,9 +13969,9 @@ type GetAllRepositoriesStatesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryStatesResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13462,10 +13994,10 @@ type DeleteRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13488,10 +14020,10 @@ type GetRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13514,11 +14046,11 @@ type UpdateRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13541,10 +14073,10 @@ type GetRepositoryAccessPermissionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryAccessPermissionsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13567,10 +14099,10 @@ type UpdateRepositoryAccessPermissionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryAccessPermissionsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13593,9 +14125,9 @@ type GetAllScaleOutRepositoriesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ScaleOutRepositoriesResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13618,10 +14150,10 @@ type CreateScaleOutRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13644,10 +14176,10 @@ type DeleteScaleOutRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13670,10 +14202,10 @@ type GetScaleOutRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ScaleOutRepositoryModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13696,11 +14228,11 @@ type UpdateScaleOutRepositoryResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13723,10 +14255,10 @@ type GetScaleOutRepositoryAccessPermissionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryAccessPermissionsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13749,10 +14281,10 @@ type UpdateScaleOutRepositoryAccessPermissionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RepositoryAccessPermissionsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13775,10 +14307,10 @@ type DisableScaleOutExtentMaintenanceModeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13801,10 +14333,10 @@ type DisableScaleOutExtentSealedModeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13827,10 +14359,10 @@ type EnableScaleOutExtentMaintenanceModeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13853,10 +14385,10 @@ type EnableScaleOutExtentSealedModeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13879,10 +14411,10 @@ type EvacuateBackupsFromScaleOutExtentResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13905,10 +14437,10 @@ type GetAllBackupObjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BackupObjectsResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13931,10 +14463,10 @@ type GetBackupObjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BackupObjectModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13957,10 +14489,10 @@ type GetBackupObjectRestorePointsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObjectRestorePointsResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -13983,9 +14515,9 @@ type GetAllBackupsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BackupsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14008,10 +14540,10 @@ type GetBackupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BackupModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14034,10 +14566,10 @@ type GetBackupObjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BackupObjectsResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14060,10 +14592,10 @@ type BrowseCloudEntityResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudBrowserModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14086,10 +14618,10 @@ type CreateNewCloudFolderResponse struct { Body []byte HTTPResponse *http.Response JSON201 *EmptySuccessResponse - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14112,9 +14644,9 @@ type GetAllCloudCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudCredentialsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14137,10 +14669,10 @@ type CreateCloudCredsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CloudCredentialsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14163,10 +14695,10 @@ type RequestAppRegistrationByDeviceCodeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CloudDeviceCodeModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14189,10 +14721,10 @@ type FinishAppRegistrationByDeviceCodeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CloudNativeApplicationModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14215,10 +14747,10 @@ type DeleteCloudCredsResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14241,10 +14773,10 @@ type GetCloudCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudCredentialsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14267,11 +14799,11 @@ type UpdateCloudCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudCredentialsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14294,10 +14826,10 @@ type ChangeCloudCertificateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CloudCredentialsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14320,10 +14852,10 @@ type ChangeCloudCredsSecretKeyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CloudCredentialsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14346,10 +14878,10 @@ type GetAllCredsHelperAppliancesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudHelperApplianceResult - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14372,10 +14904,10 @@ type CreateCloudCredsHelperApplianceResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14398,10 +14930,10 @@ type DeleteCloudCredsHelperApplianceResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14424,10 +14956,10 @@ type GetCloudCredsHelperApplianceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CloudHelperApplianceModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14450,10 +14982,10 @@ type GetConfigBackupOptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigBackupModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14476,11 +15008,11 @@ type UpdateConfigBackupOptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ConfigBackupModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14503,10 +15035,10 @@ type StartConfigBackupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14529,10 +15061,10 @@ type GetConnectionCertificateResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ConnectionCertificateModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14555,9 +15087,9 @@ type GetAllCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14580,10 +15112,10 @@ type CreateCredsResponse struct { Body []byte HTTPResponse *http.Response JSON201 *CredentialsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14606,10 +15138,10 @@ type DeleteCredsResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14632,10 +15164,10 @@ type GetCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14658,11 +15190,11 @@ type UpdateCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CredentialsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14685,11 +15217,11 @@ type ChangePasswordForCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14712,11 +15244,11 @@ type ChangePrivateKeyForCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14739,11 +15271,11 @@ type ChangeRootPasswordForCredsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14766,9 +15298,9 @@ type GetAllEncryptionPasswordsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EncryptionPasswordsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14791,10 +15323,10 @@ type CreateEncryptionPasswordResponse struct { Body []byte HTTPResponse *http.Response JSON201 *EncryptionPasswordModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14817,10 +15349,10 @@ type DeleteEncryptionPasswordResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14843,10 +15375,10 @@ type GetEncryptionPasswordResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EncryptionPasswordModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14869,11 +15401,11 @@ type UpdateEncryptionPasswordResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EncryptionPasswordModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14896,10 +15428,10 @@ type GetGeneralOptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GeneralOptionsModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14922,11 +15454,11 @@ type UpdateGeneralOptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GeneralOptionsModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14949,9 +15481,9 @@ type GetAllInventoryVmwareHostsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ViRootsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -14974,10 +15506,10 @@ type GetVmwareHostObjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VCenterInventoryResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15000,9 +15532,9 @@ type GetAllJobsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *JobsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15025,10 +15557,10 @@ type CreateJobResponse struct { Body []byte HTTPResponse *http.Response JSON201 *JobModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15051,9 +15583,9 @@ type GetAllJobsStatesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *JobStatesResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15075,11 +15607,11 @@ func (r GetAllJobsStatesResponse) StatusCode() int { type DeleteJobResponse struct { Body []byte HTTPResponse *http.Response - JSON204 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON204 *Deleted + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15102,10 +15634,10 @@ type GetJobResponse struct { Body []byte HTTPResponse *http.Response JSON200 *JobModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15128,11 +15660,11 @@ type UpdateJobResponse struct { Body []byte HTTPResponse *http.Response JSON200 *JobModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15155,11 +15687,11 @@ type DisableJobResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15182,11 +15714,11 @@ type EnableJobResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15209,11 +15741,11 @@ type StartJobResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15236,11 +15768,11 @@ type StopJobResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15263,9 +15795,9 @@ type GetAllObjectRestorePointsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObjectRestorePointsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15288,10 +15820,10 @@ type GetObjectRestorePointResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObjectRestorePointModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15314,10 +15846,10 @@ type GetObjectRestorePointDisksResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObjectRestorePointDisksResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15340,10 +15872,10 @@ type GetAllVmwareFcdInstantRecoveryMountModelsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VmwareFcdInstantRecoveryMountsResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15366,11 +15898,11 @@ type InstantRecoveryVmwareFcdMountWithSessionResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15393,10 +15925,10 @@ type GetVmwareFcdInstantRecoveryMountModelResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VmwareFcdInstantRecoveryMount - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15419,11 +15951,11 @@ type InstantRecoveryVmwareFcdDismountWithSessionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15446,11 +15978,11 @@ type InstantRecoveryVmwareFcdMigrateWithSessionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15473,10 +16005,10 @@ type GetAllInstantViVMRecoveryMountsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstantViVMRecoveryMountsResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15499,11 +16031,11 @@ type InstantViVMRecoveryMountResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15526,10 +16058,10 @@ type GetInstantViVMRecoveryMountResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstantViVMRecoveryMount - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15552,11 +16084,11 @@ type InstantViVMRecoveryMigrateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15579,11 +16111,11 @@ type InstantViVMRecoveryUnmountResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15606,11 +16138,11 @@ type EntireVmRestoreVmwareResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SessionModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15633,9 +16165,9 @@ type GetServerCertificateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CertificateModel - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15658,9 +16190,9 @@ type GetServerInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServerInfoModel - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15683,9 +16215,9 @@ type GetServerTimeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServerTimeModel - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15708,9 +16240,9 @@ type GetAllServicesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ServicesResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15733,9 +16265,9 @@ type GetAllSessionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionsResult - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15758,10 +16290,10 @@ type GetSessionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionModel - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15784,10 +16316,10 @@ type GetSessionLogsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SessionLogResult - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15810,10 +16342,10 @@ type StopSessionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EmptySuccessResponse - JSON401 *Error - JSON403 *Error - JSON404 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON404 *NotFound + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15836,9 +16368,9 @@ type GetAllTrafficRulesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GlobalNetworkTrafficRulesModel - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -15861,10 +16393,10 @@ type UpdateTrafficRulesResponse struct { Body []byte HTTPResponse *http.Response JSON201 *GlobalNetworkTrafficRulesModel - JSON400 *Error - JSON401 *Error - JSON403 *Error - JSON500 *Error + JSON400 *BadRequest + JSON401 *Unauthorized + JSON403 *Forbidden + JSON500 *InternalServerError } // Status returns HTTPResponse.Status @@ -17590,21 +18122,21 @@ func ParseCreateAuthorizationCodeResponse(rsp *http.Response) (*CreateAuthorizat response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17637,21 +18169,21 @@ func ParseLogoutResponse(rsp *http.Response) (*LogoutResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17684,28 +18216,28 @@ func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17738,21 +18270,21 @@ func ParseGetAllComputerRecoveryTokensResponse(rsp *http.Response) (*GetAllCompu response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17785,28 +18317,28 @@ func ParseCreateComputerRecoveryTokenResponse(rsp *http.Response) (*CreateComput response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17839,28 +18371,28 @@ func ParseDeleteComputerRecoveryTokenResponse(rsp *http.Response) (*DeleteComput response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17893,28 +18425,28 @@ func ParseGetComputerRecoveryTokenResponse(rsp *http.Response) (*GetComputerReco response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -17947,35 +18479,35 @@ func ParseUpdateComputerRecoveryTokenResponse(rsp *http.Response) (*UpdateComput response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18008,28 +18540,28 @@ func ParseExportCloudCredentialsResponse(rsp *http.Response) (*ExportCloudCreden response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18062,28 +18594,28 @@ func ParseImportCloudCredentialsResponse(rsp *http.Response) (*ImportCloudCreden response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18116,28 +18648,28 @@ func ParseExportCredentialsResponse(rsp *http.Response) (*ExportCredentialsRespo response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18170,28 +18702,28 @@ func ParseImportCredentialsResponse(rsp *http.Response) (*ImportCredentialsRespo response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18224,28 +18756,28 @@ func ParseExportEncryptionPasswordsResponse(rsp *http.Response) (*ExportEncrypti response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18278,28 +18810,28 @@ func ParseImportEncryptionPasswordsResponse(rsp *http.Response) (*ImportEncrypti response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18332,28 +18864,28 @@ func ParseExportJobsResponse(rsp *http.Response) (*ExportJobsResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18386,28 +18918,28 @@ func ParseImportJobsResponse(rsp *http.Response) (*ImportJobsResponse, error) { response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18440,28 +18972,28 @@ func ParseExportManagedServersResponse(rsp *http.Response) (*ExportManagedServer response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18494,28 +19026,28 @@ func ParseImportManagedServersResponse(rsp *http.Response) (*ImportManagedServer response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18548,28 +19080,28 @@ func ParseExportProxiesResponse(rsp *http.Response) (*ExportProxiesResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18602,28 +19134,28 @@ func ParseImportProxiesResponse(rsp *http.Response) (*ImportProxiesResponse, err response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18656,28 +19188,28 @@ func ParseExportRepositoriesResponse(rsp *http.Response) (*ExportRepositoriesRes response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18710,28 +19242,28 @@ func ParseImportRepositoriesResponse(rsp *http.Response) (*ImportRepositoriesRes response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18764,21 +19296,21 @@ func ParseGetAllAutomationSessionsResponse(rsp *http.Response) (*GetAllAutomatio response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18811,28 +19343,28 @@ func ParseGetAutomationSessionResponse(rsp *http.Response) (*GetAutomationSessio response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18865,28 +19397,28 @@ func ParseGetAutomationSessionLogsResponse(rsp *http.Response) (*GetAutomationSe response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18919,28 +19451,28 @@ func ParseStopAutomationSessionResponse(rsp *http.Response) (*StopAutomationSess response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -18973,21 +19505,21 @@ func ParseGetAllManagedServersResponse(rsp *http.Response) (*GetAllManagedServer response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19020,28 +19552,28 @@ func ParseCreateManagedServerResponse(rsp *http.Response) (*CreateManagedServerR response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19074,28 +19606,28 @@ func ParseDeleteManagedServerResponse(rsp *http.Response) (*DeleteManagedServerR response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19128,28 +19660,28 @@ func ParseGetManagedServerResponse(rsp *http.Response) (*GetManagedServerRespons response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19182,35 +19714,35 @@ func ParseUpdateManagedServerResponse(rsp *http.Response) (*UpdateManagedServerR response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19243,35 +19775,35 @@ func ParseUpdateSingleUseCredentialsResponse(rsp *http.Response) (*UpdateSingleU response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19304,21 +19836,21 @@ func ParseGetAllProxiesResponse(rsp *http.Response) (*GetAllProxiesResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19351,28 +19883,28 @@ func ParseCreateProxyResponse(rsp *http.Response) (*CreateProxyResponse, error) response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19398,35 +19930,35 @@ func ParseDeleteProxyResponse(rsp *http.Response) (*DeleteProxyResponse, error) switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 204: - var dest EmptySuccessResponse + var dest Deleted if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19459,28 +19991,28 @@ func ParseGetProxyResponse(rsp *http.Response) (*GetProxyResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19513,35 +20045,35 @@ func ParseUpdateProxyResponse(rsp *http.Response) (*UpdateProxyResponse, error) response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19574,21 +20106,21 @@ func ParseGetAllRepositoriesResponse(rsp *http.Response) (*GetAllRepositoriesRes response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19621,28 +20153,28 @@ func ParseCreateRepositoryResponse(rsp *http.Response) (*CreateRepositoryRespons response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19675,21 +20207,21 @@ func ParseGetAllRepositoriesStatesResponse(rsp *http.Response) (*GetAllRepositor response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19722,28 +20254,28 @@ func ParseDeleteRepositoryResponse(rsp *http.Response) (*DeleteRepositoryRespons response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19776,28 +20308,28 @@ func ParseGetRepositoryResponse(rsp *http.Response) (*GetRepositoryResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19830,35 +20362,35 @@ func ParseUpdateRepositoryResponse(rsp *http.Response) (*UpdateRepositoryRespons response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19891,28 +20423,28 @@ func ParseGetRepositoryAccessPermissionsResponse(rsp *http.Response) (*GetReposi response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19945,28 +20477,28 @@ func ParseUpdateRepositoryAccessPermissionsResponse(rsp *http.Response) (*Update response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -19999,21 +20531,21 @@ func ParseGetAllScaleOutRepositoriesResponse(rsp *http.Response) (*GetAllScaleOu response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20046,28 +20578,28 @@ func ParseCreateScaleOutRepositoryResponse(rsp *http.Response) (*CreateScaleOutR response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20100,28 +20632,28 @@ func ParseDeleteScaleOutRepositoryResponse(rsp *http.Response) (*DeleteScaleOutR response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20154,28 +20686,28 @@ func ParseGetScaleOutRepositoryResponse(rsp *http.Response) (*GetScaleOutReposit response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20208,35 +20740,35 @@ func ParseUpdateScaleOutRepositoryResponse(rsp *http.Response) (*UpdateScaleOutR response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20269,28 +20801,28 @@ func ParseGetScaleOutRepositoryAccessPermissionsResponse(rsp *http.Response) (*G response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20323,28 +20855,28 @@ func ParseUpdateScaleOutRepositoryAccessPermissionsResponse(rsp *http.Response) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20377,28 +20909,28 @@ func ParseDisableScaleOutExtentMaintenanceModeResponse(rsp *http.Response) (*Dis response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20431,28 +20963,28 @@ func ParseDisableScaleOutExtentSealedModeResponse(rsp *http.Response) (*DisableS response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20485,28 +21017,28 @@ func ParseEnableScaleOutExtentMaintenanceModeResponse(rsp *http.Response) (*Enab response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20539,28 +21071,28 @@ func ParseEnableScaleOutExtentSealedModeResponse(rsp *http.Response) (*EnableSca response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20593,28 +21125,28 @@ func ParseEvacuateBackupsFromScaleOutExtentResponse(rsp *http.Response) (*Evacua response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20647,28 +21179,28 @@ func ParseGetAllBackupObjectsResponse(rsp *http.Response) (*GetAllBackupObjectsR response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20701,28 +21233,28 @@ func ParseGetBackupObjectResponse(rsp *http.Response) (*GetBackupObjectResponse, response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20755,28 +21287,28 @@ func ParseGetBackupObjectRestorePointsResponse(rsp *http.Response) (*GetBackupOb response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20809,21 +21341,21 @@ func ParseGetAllBackupsResponse(rsp *http.Response) (*GetAllBackupsResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20856,28 +21388,28 @@ func ParseGetBackupResponse(rsp *http.Response) (*GetBackupResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20910,28 +21442,28 @@ func ParseGetBackupObjectsResponse(rsp *http.Response) (*GetBackupObjectsRespons response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -20964,28 +21496,28 @@ func ParseBrowseCloudEntityResponse(rsp *http.Response) (*BrowseCloudEntityRespo response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21018,28 +21550,28 @@ func ParseCreateNewCloudFolderResponse(rsp *http.Response) (*CreateNewCloudFolde response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21072,21 +21604,21 @@ func ParseGetAllCloudCredsResponse(rsp *http.Response) (*GetAllCloudCredsRespons response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21119,28 +21651,28 @@ func ParseCreateCloudCredsResponse(rsp *http.Response) (*CreateCloudCredsRespons response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21173,28 +21705,28 @@ func ParseRequestAppRegistrationByDeviceCodeResponse(rsp *http.Response) (*Reque response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21227,28 +21759,28 @@ func ParseFinishAppRegistrationByDeviceCodeResponse(rsp *http.Response) (*Finish response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21281,28 +21813,28 @@ func ParseDeleteCloudCredsResponse(rsp *http.Response) (*DeleteCloudCredsRespons response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21335,28 +21867,28 @@ func ParseGetCloudCredsResponse(rsp *http.Response) (*GetCloudCredsResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21389,35 +21921,35 @@ func ParseUpdateCloudCredsResponse(rsp *http.Response) (*UpdateCloudCredsRespons response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21450,28 +21982,28 @@ func ParseChangeCloudCertificateResponse(rsp *http.Response) (*ChangeCloudCertif response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21504,28 +22036,28 @@ func ParseChangeCloudCredsSecretKeyResponse(rsp *http.Response) (*ChangeCloudCre response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21558,28 +22090,28 @@ func ParseGetAllCredsHelperAppliancesResponse(rsp *http.Response) (*GetAllCredsH response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21612,28 +22144,28 @@ func ParseCreateCloudCredsHelperApplianceResponse(rsp *http.Response) (*CreateCl response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21666,28 +22198,28 @@ func ParseDeleteCloudCredsHelperApplianceResponse(rsp *http.Response) (*DeleteCl response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21720,28 +22252,28 @@ func ParseGetCloudCredsHelperApplianceResponse(rsp *http.Response) (*GetCloudCre response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21774,28 +22306,28 @@ func ParseGetConfigBackupOptionsResponse(rsp *http.Response) (*GetConfigBackupOp response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21828,35 +22360,35 @@ func ParseUpdateConfigBackupOptionsResponse(rsp *http.Response) (*UpdateConfigBa response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21889,28 +22421,28 @@ func ParseStartConfigBackupResponse(rsp *http.Response) (*StartConfigBackupRespo response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21943,28 +22475,28 @@ func ParseGetConnectionCertificateResponse(rsp *http.Response) (*GetConnectionCe response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -21997,21 +22529,21 @@ func ParseGetAllCredsResponse(rsp *http.Response) (*GetAllCredsResponse, error) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22044,28 +22576,28 @@ func ParseCreateCredsResponse(rsp *http.Response) (*CreateCredsResponse, error) response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22098,28 +22630,28 @@ func ParseDeleteCredsResponse(rsp *http.Response) (*DeleteCredsResponse, error) response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22152,28 +22684,28 @@ func ParseGetCredsResponse(rsp *http.Response) (*GetCredsResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22206,35 +22738,35 @@ func ParseUpdateCredsResponse(rsp *http.Response) (*UpdateCredsResponse, error) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22267,35 +22799,35 @@ func ParseChangePasswordForCredsResponse(rsp *http.Response) (*ChangePasswordFor response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22328,35 +22860,35 @@ func ParseChangePrivateKeyForCredsResponse(rsp *http.Response) (*ChangePrivateKe response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22389,35 +22921,35 @@ func ParseChangeRootPasswordForCredsResponse(rsp *http.Response) (*ChangeRootPas response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22450,21 +22982,21 @@ func ParseGetAllEncryptionPasswordsResponse(rsp *http.Response) (*GetAllEncrypti response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22497,28 +23029,28 @@ func ParseCreateEncryptionPasswordResponse(rsp *http.Response) (*CreateEncryptio response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22551,28 +23083,28 @@ func ParseDeleteEncryptionPasswordResponse(rsp *http.Response) (*DeleteEncryptio response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22605,28 +23137,28 @@ func ParseGetEncryptionPasswordResponse(rsp *http.Response) (*GetEncryptionPassw response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22659,35 +23191,35 @@ func ParseUpdateEncryptionPasswordResponse(rsp *http.Response) (*UpdateEncryptio response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22720,28 +23252,28 @@ func ParseGetGeneralOptionsResponse(rsp *http.Response) (*GetGeneralOptionsRespo response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22774,35 +23306,35 @@ func ParseUpdateGeneralOptionsResponse(rsp *http.Response) (*UpdateGeneralOption response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22835,21 +23367,21 @@ func ParseGetAllInventoryVmwareHostsResponse(rsp *http.Response) (*GetAllInvento response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22882,28 +23414,28 @@ func ParseGetVmwareHostObjectResponse(rsp *http.Response) (*GetVmwareHostObjectR response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22936,21 +23468,21 @@ func ParseGetAllJobsResponse(rsp *http.Response) (*GetAllJobsResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -22983,28 +23515,28 @@ func ParseCreateJobResponse(rsp *http.Response) (*CreateJobResponse, error) { response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23037,21 +23569,21 @@ func ParseGetAllJobsStatesResponse(rsp *http.Response) (*GetAllJobsStatesRespons response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23077,35 +23609,35 @@ func ParseDeleteJobResponse(rsp *http.Response) (*DeleteJobResponse, error) { switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 204: - var dest EmptySuccessResponse + var dest Deleted if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON204 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23138,28 +23670,28 @@ func ParseGetJobResponse(rsp *http.Response) (*GetJobResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23192,35 +23724,35 @@ func ParseUpdateJobResponse(rsp *http.Response) (*UpdateJobResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23253,35 +23785,35 @@ func ParseDisableJobResponse(rsp *http.Response) (*DisableJobResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23314,35 +23846,35 @@ func ParseEnableJobResponse(rsp *http.Response) (*EnableJobResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23375,35 +23907,35 @@ func ParseStartJobResponse(rsp *http.Response) (*StartJobResponse, error) { response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23436,35 +23968,35 @@ func ParseStopJobResponse(rsp *http.Response) (*StopJobResponse, error) { response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23497,21 +24029,21 @@ func ParseGetAllObjectRestorePointsResponse(rsp *http.Response) (*GetAllObjectRe response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23544,28 +24076,28 @@ func ParseGetObjectRestorePointResponse(rsp *http.Response) (*GetObjectRestorePo response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23598,28 +24130,28 @@ func ParseGetObjectRestorePointDisksResponse(rsp *http.Response) (*GetObjectRest response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23652,28 +24184,28 @@ func ParseGetAllVmwareFcdInstantRecoveryMountModelsResponse(rsp *http.Response) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23706,35 +24238,35 @@ func ParseInstantRecoveryVmwareFcdMountWithSessionResponse(rsp *http.Response) ( response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23767,28 +24299,28 @@ func ParseGetVmwareFcdInstantRecoveryMountModelResponse(rsp *http.Response) (*Ge response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23821,35 +24353,35 @@ func ParseInstantRecoveryVmwareFcdDismountWithSessionResponse(rsp *http.Response response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23882,35 +24414,35 @@ func ParseInstantRecoveryVmwareFcdMigrateWithSessionResponse(rsp *http.Response) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23943,28 +24475,28 @@ func ParseGetAllInstantViVMRecoveryMountsResponse(rsp *http.Response) (*GetAllIn response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -23997,35 +24529,35 @@ func ParseInstantViVMRecoveryMountResponse(rsp *http.Response) (*InstantViVMReco response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24058,28 +24590,28 @@ func ParseGetInstantViVMRecoveryMountResponse(rsp *http.Response) (*GetInstantVi response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24112,35 +24644,35 @@ func ParseInstantViVMRecoveryMigrateResponse(rsp *http.Response) (*InstantViVMRe response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24173,35 +24705,35 @@ func ParseInstantViVMRecoveryUnmountResponse(rsp *http.Response) (*InstantViVMRe response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24234,35 +24766,35 @@ func ParseEntireVmRestoreVmwareResponse(rsp *http.Response) (*EntireVmRestoreVmw response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24295,21 +24827,21 @@ func ParseGetServerCertificateResponse(rsp *http.Response) (*GetServerCertificat response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24342,21 +24874,21 @@ func ParseGetServerInfoResponse(rsp *http.Response) (*GetServerInfoResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24389,21 +24921,21 @@ func ParseGetServerTimeResponse(rsp *http.Response) (*GetServerTimeResponse, err response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24436,21 +24968,21 @@ func ParseGetAllServicesResponse(rsp *http.Response) (*GetAllServicesResponse, e response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24483,21 +25015,21 @@ func ParseGetAllSessionsResponse(rsp *http.Response) (*GetAllSessionsResponse, e response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24530,28 +25062,28 @@ func ParseGetSessionResponse(rsp *http.Response) (*GetSessionResponse, error) { response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24584,28 +25116,28 @@ func ParseGetSessionLogsResponse(rsp *http.Response) (*GetSessionLogsResponse, e response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24638,28 +25170,28 @@ func ParseStopSessionResponse(rsp *http.Response) (*StopSessionResponse, error) response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error + var dest NotFound if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON404 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24692,21 +25224,21 @@ func ParseGetAllTrafficRulesResponse(rsp *http.Response) (*GetAllTrafficRulesRes response.JSON200 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } @@ -24739,28 +25271,28 @@ func ParseUpdateTrafficRulesResponse(rsp *http.Response) (*UpdateTrafficRulesRes response.JSON201 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error + var dest BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON400 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401: - var dest Error + var dest Unauthorized if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON401 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403: - var dest Error + var dest Forbidden if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON403 = &dest case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error + var dest InternalServerError if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } diff --git a/pkg/client/example_test.go b/pkg/client/example_test.go index b9d6f03..82f8ac1 100644 --- a/pkg/client/example_test.go +++ b/pkg/client/example_test.go @@ -8,7 +8,7 @@ import ( "github.com/veeamhub/veeam-vbr-sdk-go/v2/pkg/client" - "github.com/deepmap/oapi-codegen/pkg/securityprovider" + "github.com/deepmap/oapi-codegen/v2/pkg/securityprovider" ) const vbrhost = "https://127.0.0.1:9419" diff --git a/pkg/client/types.go b/pkg/client/types.go index 1c864bf..57556d8 100644 --- a/pkg/client/types.go +++ b/pkg/client/types.go @@ -1,6 +1,6 @@ // Package client provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT. +// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT. package client import ( @@ -8,8 +8,8 @@ import ( "fmt" "time" - "github.com/deepmap/oapi-codegen/pkg/runtime" - openapi_types "github.com/deepmap/oapi-codegen/pkg/types" + "github.com/oapi-codegen/runtime" + openapi_types "github.com/oapi-codegen/runtime/types" ) const (